On Sun, Apr 17, 2011 at 1:36 AM, Binand Sethumadhavan binand@gmail.comwrote:
- nslookup -q=soa com.
- nslookup -q=soa example.com.
- nslookup -q=a example.com.
(Note the period at the end of every line)
Here is an output
*C:\Users\m4k>nslookup -q=soa com.* Server: m4k-laptop Address: 192.168.0.3
Non-authoritative answer: com primary name server = a.gtld-servers.net responsible mail addr = nstld.verisign-grs.com serial = 1303031172 refresh = 1800 (30 mins) retry = 900 (15 mins) expire = 604800 (7 days) default TTL = 86400 (1 day)
*C:\Users\m4k>nslookup -q=soa example.com.* Server: m4k-laptop Address: 192.168.0.3
Non-authoritative answer: example.com primary name server = dns1.icann.org responsible mail addr = hostmaster.icann.org serial = 2010074444 refresh = 7200 (2 hours) retry = 3600 (1 hour) expire = 1209600 (14 days) default TTL = 3600 (1 hour)
*C:\Users\m4k>nslookup -q=a example.com.* Server: m4k-laptop Address: 192.168.0.3
Name: example.com Address: 127.0.0.1
// After changing ip address in dnsmasq.confg to address=/ example.com/192.168.0.3 http://example.com/127.0.0.1
*C:\Users\m4k>nslookup -q=a example.com.* Server: m4k-laptop Address: 192.168.0.3
Name: example.com Address: 192.168.0.3