OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: stanthewizzard on November 07, 2024, 10:16:33 PM

Title: DHCPv6. DNS servers
Post by: stanthewizzard on November 07, 2024, 10:16:33 PM
Hello

DNS servers got IP from DHCPv6 itself
Sometime ISP prefix changes.

Range change accordingly thus modifying dns server prefix IPs

There is no way to have the dns server ip with prefix ?

Thank for help
Title: Re: DHCPv6. DNS servers
Post by: Maurice on November 09, 2024, 12:13:44 AM
Is OPNsense your DNS server (Unbound / Dnsmasq)? Then you don't have to manually enter DNS server addresses in the ISC DHCPv6 settings. If left empty, the interface address will be used.

If your DNS servers are separate machines in your network, then you'll have to use their link-local addresses or deploy ULAs.

Cheers
Maurice
Title: Re: DHCPv6. DNS servers
Post by: stanthewizzard on November 11, 2024, 07:36:11 PM
I think I'll go the ULA ways

I juste need fixed ip with ULA for the DNS

Thank you
Title: Re: DHCPv6. DNS servers
Post by: stanthewizzard on November 12, 2024, 11:51:51 AM
Quote from: Maurice on November 09, 2024, 12:13:44 AM
Is OPNsense your DNS server (Unbound / Dnsmasq)? Then you don't have to manually enter DNS server addresses in the ISC DHCPv6 settings. If left empty, the interface address will be used.

If your DNS servers are separate machines in your network, then you'll have to use their link-local addresses or deploy ULAs.

Cheers
Maurice

Opnsense is not my DNS Server
the link-local adresse is fixed ?
Thanks
Title: Re: DHCPv6. DNS servers
Post by: Maurice on November 12, 2024, 12:15:46 PM
Yes, link-local addresses are static. But they can't be routed, so this only works if the DNS server and the clients are in the same LAN.