On 11.02.22 16:06, Chris Green wrote:
I am setting up my dnsmasq backup system(s) and have just moved to the
'other' dnsmasq server, now I'm getting odd response to 'host' :-
chris$ host esprimo
esprimo has address 192.168.1.3
Host esprimo not found: 5(REFUSED)
chris$ host C475IP
C475IP has address 192.168.1.101
Host C475IP not found: 5(REFUSED)
chris$
host by default checks for A,AAAA and MX records. apparently your primary
nameserver returns REFUSED for AAAA or MX query.
I have checked that I don't have two DNS servers running. Also if I
stop dnsmasq from listening I get no response.
dig seems to produce a sensible response:-
chris$ dig esprimo
; <<>> DiG 9.16.15-Ubuntu <<>> esprimo
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47052
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;esprimo. IN A
;; ANSWER SECTION:
esprimo. 0 IN A 192.168.1.3
;; Query time: 8 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Feb 11 15:59:11 GMT 2022
;; MSG SIZE rcvd: 52
So what on earth have I misconfigured?
diy sends A query by default.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Your mouse has moved. Windows NT will now restart for changes to take
to take effect. [OK]
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss