RE: ipv6 DNS records
09-19-2014, 05:49 AM
(This post was last modified: 09-19-2014, 07:50 AM by trs998.)
(09-18-2014, 06:57 PM)kandrews Wrote: Could you get this logged as a bug over on github.com please?
Further to this I have found four more problems ( not sure if these are bugs in the development snapshot, as this is a new (a few days old) install of 1.0.0 )
1) bind doesn't listen on ipv6 by default (before bind 9.1) - needs a change in bind config...
Insert after line 13:
listen-on-v6 { any; };
2) The documentation hint on the AAAA DNS manager page has an ipv6 address not in the documentation range.
http://tools.ietf.org/html/rfc3849
The gist of the above reference is that all documentation example ipv6 address should be within range: 2001:DB8::/32
2001:DB8::1 is valid, though maybe a more varied one might be better with more segments filled in.
3)
The save button is greyed out unless there are changes to save in the dns control panel. However, deleting (well, marking for deletion) a DNS record does not ungrey the save button. Adding then removing a character from the end of a record is a way to enable it. The "Save Changes" at the top ungreys correctly, but not the blue "save" at the bottom.
4)
The validation on saving internal IP addresses as A records fails using the flag FILTER_FLAG_NO_PRIV_RANGE - personally, I use DNS records for internal links, so I have disabled this. I'm not sure if this is a feature I'd want disabled for all. Mostly internal A and AAAA records are not going to be intentional, but it is legal and useful for some users.
Line 1129 on /etc/zpanel/panel/modules/dns_manager/code/controller.ext.php for the relevant flag on the check.
also note that commenting out the action of caring about unique DNS records (line 967 and 968 of /etc/zpanel/panel/dns_manager/code/controller.ext.php) appears to have no ill effects as yet.
No errors, zone generates fine, and responses are correctly randomised between the available responses. I have not tried potentially problematic combinations such as CNAME the same as A.