[Dnsmasq-discuss] Confused about simple subdomain authoritative server (re: home network)

Matus UHLAR - fantomas uhlar at fantomas.sk
Mon Nov 6 15:17:05 UTC 2023


On 06.11.23 08:22, John Klimek wrote:
>Here is the dnsmasq.conf I'm using.  It seems to return authoritative
>responses for home.mydomain.com but if I query anything else it returns
>REFUSED:
>
>log-queries
>
>no-resolv
>server=8.8.4.4
>server=8.8.8.8

do you have DNS connectivity to these IP addresses?
Don't you get different nameserver ips e.g. via dhcp or ppp?

>auth-server=server.home.mydomain.com,enp2s0f0
>auth-zone=home.mydomain.com,192.168.1.0/24
>host-record=server.home.mydomain.com,192.168.1.50

On 06.11.23 09:12, wkitty42 at gmail.com wrote:
>On 11/6/23 8:22 AM, John Klimek wrote:
>>Here is the dnsmasq.conf I'm using.  It seems to return 
>>authoritative responses for home.mydomain.com 
>><http://home.mydomain.com> but if I query anything else it returns 
>>REFUSED:
>
>i think no-resolv might cause that...

no-resolv tells dnsmasq not to read /etc/resolv.conf but use servers 
specified in dnsmasq.conf, in this case 8.8.4.4 and 8.8.8.8

it could cause troubles if e.g. provider blocks access to these servers.

-- 
Matus UHLAR - fantomas, uhlar at 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.
I intend to live forever - so far so good.



More information about the Dnsmasq-discuss mailing list