Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Adding IPv6 address to DNS general setup crashes dhcpd service

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 2.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      JackTripper
      last edited by

      Under System -> General Setup i've configured the usual 3 dns servers:

      • 8.8.8.8 - Google primary public DNS server

      • 8.8.4.4 - Google secondary public DNS server

      • 74.82.42.42 - Hurricane Electric IPv4 DNS server

      and that works great; the clients are given these DNS entries as DNS servers.

      Now i want to include an IPv6 DNS server:

      • 2001:470:20::2 - Hurricane Electric IPv6 DNS server

      But when i do that, the dhcpd DHCP service crashes;

      dhcpd: /etc/dhcpd.conf line 19: semicolon expected.
      dhcpd: option domain-name-servers 8.8.8.8,8.8.4.4,74.82.42.42,2001:
      dhcpd: ^
      dhcpd: Configuration file errors encountered -- exiting
      
      

      Is it wrong to be trying to use an IPv6 DNS server?

      My goal is to transition entirely to IPv6; starting with serving IPv6 DNS servers.

      Edit: 2.1-RELEASE (i386) built on Wed Sep 11 18:16:22 EDT 2013

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        So you want to get an ipv6 server to a box that is running ipv4 dhcp?

        Dns is not handed out via dhcpv6 to dhcpv4 clients..  So I am confused what you expect to happen here?

        an IPv4 box has little use for a ipv6 dns server - so I can understand why it might crash.

        Its find if you want your pfsense box that has dhcpv6 address to use ipv6 dns – but you can not hand iput ipv6 address to ipv4 dhcp client.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • J
          JackTripper
          last edited by

          @johnpoz:

          Dns is not handed out via dhcpv6 to dhcpv4 clients..  So I am confused what you expect to happen here?

          i would want the DHCP (v4-only) server to hand out the IPv4 DNS servers from the General Setup page:

          (without crashing).

          And i would want the DHCP (v6-capable) server to hand out DNS servers from the General Setup page:

          There is a workaround for the IPv4 dhcpd: override the DNS server's served by the IPv4 DHCP server so it does not crash.

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            Well that makes more sense and I agree with you.. So pfsense that might have both ipv4 and ipv6 -so for its dns you can setup dns servers that are both ipv4 and ipv6 and you don't dhcpd to crash because of that..

            It should say hey only look at the ipv4 dns that is listed to hand out if not setting specific dns in the scope.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.