[ILUG-BOM] Configuring Dnsmasq server

Mukesh Yadav mak.gnu at gmail.com
Sun Apr 17 15:06:33 IST 2011


On Sun, Apr 17, 2011 at 1:36 AM, Binand Sethumadhavan <binand at gmail.com>wrote:

> 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)
>
> 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


-- 
Regards
Mukesh Yadav
WebRep
Overall rating


More information about the Linuxers mailing list