Register
It is currently Thu Aug 21, 2014 8:03 am

DNS check script


All times are UTC - 6 hours


Post new topic Reply to topic  [ 1 post ] 
Author Message
 PostPosted: Sat May 22, 2010 12:05 pm   

Joined: Thu May 20, 2010 11:52 am
Posts: 1
Seems to be some concern with bad guys planting false dns records. I was thinking about a script to periodically check for addresses not pointed to the local machine. I can do recursive greps and use the -v option but I have to run too many iterations in the current form. I'd save a lot of 'mess' if I could just grep out A records. How do I match the pattern " IN A"? I've tried a couple things but I guess I just don't understand pattern matching that well.

OK. Quick edit. I've figured out I should be concentrating on IP addresses instead of the "IN A". I'd still like to know for future reference how to do that though. ;) I'll take look at pattern matching with digits in the form of xxx.xxx.xxx.xxx instead.


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Watael and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP