Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Modify Remote Login server to block scripted attacks' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Modify Remote Login server to block scripted attacks
Authored by: covisp on Mar 19, '06 04:35:25AM

since nslookup is depecrated and spits out errors every time you use it, I played around with this and got it working with dig:

dig $MYNAME | grep -A1 $MYNAME| awk '/^$MYNAME/ { print $5}'

(where $MYNAME is myname.dyndns.org or something similar)



[ Reply to This | # ]