Advertisement
Guest User

Untitled

a guest
Apr 17th, 2020
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.43 KB | None | 0 0
  1. $./poshel_nahuy
  2. $ cat output
  3. Server:         192.168.1.1
  4. Address:        192.168.1.1#53
  5.  
  6. Non-authoritative answer:
  7. Name:   2ch.hk
  8. Address: 5.61.239.35
  9.  
  10. Server:         192.168.1.1
  11. Address:        192.168.1.1#53
  12.  
  13. Non-authoritative answer:
  14. Name:   4chan.org
  15. Address: 104.16.168.99
  16. Name:   4chan.org
  17. Address: 104.17.136.89
  18.  
  19. $ cat poshel_nahuy
  20. #!/bin/bash
  21.  
  22. for i in $(cat list); do
  23.         nslookup $i >> output
  24. done;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement