Bug 858340 - dynamic DNS updating does not work for IPv6
Summary: dynamic DNS updating does not work for IPv6
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 18
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-18 17:33 UTC by Gene Czarcinski
Modified: 2013-05-07 14:45 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-05-07 14:45:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Gene Czarcinski 2012-09-18 17:33:18 UTC
While dynamic DNS updating works for IPv4, it does not work for IPv6 because
NetworkManager does not send the client-host's name in its dhcp request.

I have tested this with dnsmasq and am setting up testing to see if the same
situation occurs with dhcpd-v6/named.

My test was to run wireshark to capture the packets and, while running
NetworkManager and then enable an interface with a IPv6 network.

I then stopped NetowrkManager and used the "ifup eth0" network script with a
slight modification to ifup-eth in the dhclient commandline to change "-H" to
"-F".  Worked fine!  There they were ... the fqdn specification in the dhcpv6
packets.

Note ... the lease file showed a lot of additional entries when things work.  I
do not know if just doing a "send fqdn.fqdn name;" will be sufficent.

This testing was done on Fedora 17.
------------------------------------------------
I have repeated the test except that I installed and configured bind and dhcp (both dhcpd and dhcpd6 servers) on the server instead of dnsmasq.  The client test remained the same and the results remained the same.

This has been reported upstream:
https://bugzilla.gnome.org/show_bug.cgi?id=684242

Suggestion: rather than creating a dhcpd6 and dhcpd conf files, do a small modification to the code starting dhclient.  For IPv4, use "-H" on the command line and for IPv6 use "-F" ... this seems to work well.

I looked at the code and I am sure there are a number of folks who understand it but it was a bit more than I want to chew.

Comment 1 Gene Czarcinski 2013-01-25 12:39:53 UTC
This problem has been fixed upstream.  I know because I did the update and am running it (tarball created from git 20121130).  Wheat does it take to get a more recent version?


Note You need to log in before you can comment on or make changes to this bug.