[Dnsmasq-discuss] dnsmasq & DDNS

Petr Menšík pemensik at redhat.com
Thu Apr 4 10:22:29 UTC 2024


Hi Morgan,

I am quite sure dnsmasq cannot be client to anything. Especially not 
dynamic dns client. I would recommend unbound for medium sized networks, 
dnsmasq is great for small networks. Depends.

dnsmasq can provide authoritative server parts as well as forwarder 
caching. You have not specified what means to you to be DDNS client, it 
might vary somehow. dnsmasq can provide changing machine names with 
changing IP addresses. If it does DHCP+DNS on your network, it works out 
of the box. If fact it is kind of difficult to supress it in unwanted. 
But that works great only with clients using DHCP to dnsmasq. Machine 
running dnsmasq itself has absolutely no support from dnsmasq, except 
local DNS cache. It should work if any external tool updates server 
address, dnsmasq should resolve it with help of upstream forwarder. 
Whether you use nsupdate or other tool to update your server address, it 
might work.

But you cannot use such address for cnames served by dnsmasq, because 
dnsmasq would need to fetch its target first. It does not know how to do 
that correctly.

I think DDNS was meant for DHCP clients only, not the server itself.

On 01. 04. 24 12:21, Morgan Read via Dnsmasq-discuss wrote:
> Hi Folks,
>
> I've been following this little how to:
> https://docs.fedoraproject.org/en-US/fedora-server/administration/dnsmasq/ 
>
> Which says:
> 'Fedora Server Edition recommends the lightweight dnsmasq program to 
> provide DHCP, DDNS and DNS caching service for a server and a small to 
> medium-sized local network.'
>
> Which has led me to believe I can configure dnsmasq as a DDNS 
> client... However, I've found very little information about how to do 
> that - nil. And, the dnsmasq manual mentions DDNS precisely once.  All 
> of which, after well wasted morning, leads me to suspect that dnsmasq 
> is not meant to be configured as a DDNS client...
>
> My question: are my suspicions correct?
>
> If I'm wrong and dnsmasq can be configured as a DDNS client and my 
> google foo has been poo - can anyone give me a pointer to where I 
> might find more information.
>
> Thanks folks and have a good Easter Monday.
>
> M
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

-- 
Petr Menšík
Software Engineer, RHEL
Red Hat, http://www.redhat.com/
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB




More information about the Dnsmasq-discuss mailing list