[Dnsmasq-discuss] Strange error when running 'host'
Chris Green
cl at isbd.net
Fri Feb 11 20:23:42 UTC 2022
On Fri, Feb 11, 2022 at 04:06:52PM +0000, 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$
>
> 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?
>
I've moved esprimo to 192.168.1.245 and it's (basically) working
again. So I'm not in a sort of disaster area but I haven't a clue what
was wrong with it being at 192.168.1.3. I've had supper and a drink
now so it will have to wait until the morning.
--
Chris Green
More information about the Dnsmasq-discuss
mailing list