Adding a local DNS to the default DNSs
-
I've had PFSense CE running a new server for a week and just brought it up today. I do have a few problems such as FRR ripd not running. And I have no IPv4 DHCP on PFSense. But I do have IPv6 DHCP running on PFSense.
I have an internal dnsmasq server (IPv4 dhcp & dns) that I need for my local network. I haven't setup IPv6 DNS locally yet. IPv4 DHCP is disabled on PFsense but not IPv6. Where can I add the local dns so that pfsense sends it with the IPv6 DHCP/dns servers?
Version 2.7.0-DEVELOPMENT (amd64)
built on Sun Jan 16 06:17:46 UTC 2022
FreeBSD 12.3-STABLEUnable to check for updates
CPU Type Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz
Current: 3500 MHz, Max: 3501 MHz
8 CPUs: 1 package(s) x 4 core(s) x 2 hardware threads
AES-NI CPU Crypto: Yes (inactive)
QAT Crypto: No -
There are fields for adding DNS servers in the DHCPv6 config. If you haven't added anything there it passes the interface IP.
Steve
-
Are you sure you want to use DHCPv6? SLAAC is normally used to provide IPv6 addresses and Android devices won't work with DHCPv6. Also, the DNS server address is usually provided by RDNSS, which is part of the Router Advertisements.
-
@stephenw10 Thanks I'll take a look at that.
-
@jknott at the moment I've just enabled IPv6 and I haven't gone any further (with IPv6). I'm still trying to get used to pfsense and being able to use IPv6. My last router had a very broken IPv6.
Do you have any pointers on trying to figure out IPv6. I know some about IPv6 but there's a lot more to know.
Thanks
-
Yes, I have a lot of experience with IPv6. As I mentioned, you should use SLAAC, unless you have some need for DHCPv6. With SLAAC, the router advertises the LAN prefix and the device adds the rest of the address, often based on the MAC address. This requires no configuration on the device. Also, RDNSS is provided in a router advertisement, though it must be enabled. Start with this and see how it goes. I'll help with whatever I can.