2011/4/17 Mukesh Yadav mak.gnu@gmail.com
- See if you can resolve DNS from a Linux live CD.
I can ping from linux machine, but again www.example.com does not work.
Ping != Resolve.
C:\Users\m4k>nslookup -q=soa . Server: m4k-laptop Address: 192.168.0.3
Non-authoritative answer:
[snip]
So DNS resolution does work. Now do these nslookups:
1. nslookup -q=soa com. 2. nslookup -q=soa example.com. 3. nslookup -q=a example.com.
(Note the period at the end of every line)
Binand
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
2011/4/17 Mukesh Yadav mak.gnu@gmail.com
Name: example.com Address: 127.0.0.1
What is the problem? There is nothing wrong with your setup and it is working as intended. You could try some other domains (google.com etc.) but I don't think there's any issue here.
Binand