Hello, I'm writing a bash script for Mac Os X Mavericks, and in the first phase I have to perform a DNS lookup (I used the host and dig +short commands). My DNS servers on the router are set to the OpenDNS servers.
While testing, I noticed that every bogus domain name (as wlekrjlksjdaf.it or wlekrjlksjdaf.com) gets resolved to the IP address 126.96.36.199 instead of throwing an exception (or the command returning a value other than 0).
Does it make any sense? Can anyone explain to me why this happens?
Thanks in advance :)
Please sign in to leave a comment.