There's something very odd going on with my dnsmqsq.  The following
sequence of 'host' commands was run on one of my client machines on my
home LAN.  This machine has a very minimal /etc/dnsmasq.conf as
follows:- 
    resolv-file=/run/NetworkManager/no-stub-resolv.conf

The file /run/NetworkManager/no-stub-resolv.conf is:-

    # Generated by NetworkManager
    search zbmc.eu
    nameserver 192.168.1.2

/etc/resolv.conf is:-
    nameserver 127.0.0.1


... and here is the sequence of host commands, they were done at
manual typing speed, i.e. in a few tens of seconds overall, no long
waits between them.

    chris$ host -a jacquibennett.com 127.0.1.1
    Trying "jacquibennett.com"
    Using domain server:
    Name: 127.0.1.1
    Address: 127.0.1.1#53
    Aliases: 

    Host jacquibennett.com not found: 4(NOTIMP)
    Received 35 bytes from 127.0.1.1#53 in 16 ms
    chris$ host jacquibennett.com 127.0.1.1
    Using domain server:
    Name: 127.0.1.1
    Address: 127.0.1.1#53
    Aliases: 

    jacquibennett.com has address 153.92.6.161
    jacquibennett.com has IPv6 address 2a02:4780:a:1080:0:174b:7855:7
    Host jacquibennett.com not found: 2(SERVFAIL)
    chris$ 
    chris$ 
    chris$ 
    chris$ host jacquibennett.com 127.0.1.1
    Using domain server:
    Name: 127.0.1.1
    Address: 127.0.1.1#53
    Aliases: 

    jacquibennett.com has address 153.92.6.161
    jacquibennett.com has IPv6 address 2a02:4780:a:1080:0:174b:7855:7
    jacquibennett.com mail is handled by 5 mx1.hostinger.com.
    jacquibennett.com mail is handled by 10 mx2.hostinger.com.
    chris$ 

Why am I getting different answers each time, it's crazy!

It's almost as if there's more than one process listening for DNS
requests and they answer at random.  I obviously have something very
wrong somewhere but I don't really know how to diagnose this.


-- 
Chris Green

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to