Dashboard should also display IPv6 DNS servers…



  • Subject says it all: currently it only shows the IPv4 DNS servers.

    Edit:
    Actually subject doesn't say it all. In the System:GeneralSetup page, there is a section for DNS servers, and these are the ones shown in the dashboard.

    It seems however kind of impossible to give IPv6 DNS servers there, because I can't select the IPv6 gateway that's on a tunnel interface, which acts as an IPv6 WAN link, while the other WAN link is IPv4 only.

    I was able to set e.g. google's IPv6 DNS servers for the DHCPv6 server, but of course, these aren't used by the system.


  • Rebel Alliance Global Moderator

    What version are you using, I ran a gitsync this morning and am on

    2.1-BETA0 (i386)
    built on Fri Jun 1 00:59:05 EDT 2012
    FreeBSD 8.3-RELEASE-p2

    And I can pick the tunnel interface as gateway and set a ipv6 dns, and its displayed on the dashboard






  • I'll upgrade and see…
    I'm actually on a newer build, but w/o gitsync.



  • @rcfa:

    I'll upgrade and see…
    I'm actually on a newer build, but w/o gitsync.

    Well, I git-synced, and now I have it where I want it

    BUT:

    you have to enter the IPv6 DNS server, then SAVE, and then you can select the IPv6 gateway, and then you have to save again.

    That seems rather counter-intuitive to me. I should be able to enter the IPv6 DNS server, select the gateway, and save, all in one pass.
    More to the point, when I explore the interface, only the IPv4 gateways are listed, so I would not expect that I can put an IPv6 DNS server into that field in the first place.

    IMO, any gateway set up, particularly any gateway which is listed as a default route, should be part of that list that pops up. Then check if the gateway is compatible with the address family as part of the save operation, and issue an appropriate error message, if the two aren't matched properly.


  • Rebel Alliance Global Moderator

    that is not what I exp, I checked the dropdown before I ever put anything in as dns and my ipv6 gateway was there - I picked it and then put in my ipv6 dns IP, one save.



  • @johnpoz:

    that is not what I exp, I checked the dropdown before I ever put anything in as dns and my ipv6 gateway was there - I picked it and then put in my ipv6 dns IP, one save.

    Strange, even now, with all four DNS servers set (two IPv4, two IPv6), the pop-up list next to each of them only lists the gateways with the matching protocol. So next to my IPv6 DNS servers, only the IPv6 gateway is selectable (or none). I guess an empty field is implicitly considered an IPv4 field, and thus, until it's actually filled with an IPv6 gateway, it won't show one. Hence the two-step process. Not sure, though, why things behave differently on your system…



  • So now it gets really strange: tried to rename my gateways to have more consistent naming scheme, but pfSense didn't let me do that. So I had to delete both gateways and create them again.
    Guess what? Now they all show up in the pop-up list, regardless of the type of IP address in the field.

    So something must have changed in the way gateways are saved, which allows newly created gateways to show up everywhere, but longer existing ones not.


  • Rebel Alliance Developer Netgate

    Someone didn't read their stickies :-)

    http://forum.pfsense.org/index.php/topic,50095.0.html



  • @jimp:

    Someone didn't read their stickies :-)

    http://forum.pfsense.org/index.php/topic,50095.0.html

    Well, didn't have an issue with the gateway being down or showing "gathering" or anything like that.
    Just the pop-up menu next to the DNS servers behaved funky.

    Actually, it still behaves in ways that are not fully clear to me, sometimes showing all gateways (IPv4 and IPv6) and sometimes only a subset matching the address in the DNS server field, meaning, sometimes I have to save first to get the pop-up to be populated with the gateways I need.

    So even deleting/recreating all gateways (in order to rename them) didn't really help getting consistent behavior.


Locked