Bug 13510 - resolv.conf.5 implies that only IPv4 addresses are allowed
Summary: resolv.conf.5 implies that only IPv4 addresses are allowed
Status: RESOLVED CODE_FIX
Alias: None
Product: Documentation
Classification: Unclassified
Component: man-pages (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: documentation_man-pages@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-11 19:45 UTC by Dan Winship
Modified: 2013-12-10 16:36 UTC (History)
2 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Dan Winship 2009-06-11 19:45:26 UTC
resolv.conf.5 says:

   nameserver Name server IP address
      Internet address (in dot notation) of a name server that the resolver
      should query.

Only IPv4 addresses have a "dot notation", so this suggests that IPv6 addresses aren't allowed. But they are.

Given that the "sortlist" field is IPv4-only, it's probably best to actually be explicit that nameserver supports either. So:

   nameserver Name server IP address
      IP address (IPv4 or IPv6) of a name server that the resolver
      should query.
Comment 1 Jorge Nerín 2013-09-10 16:31:31 UTC
As of man-pages-3.51 resolv.conf.5:

       nameserver Name server IP address
              Internet address of a  name  server  that  the  resolver  should
              query,  either  an  IPv4  address  (in dot notation), or an IPv6
              address in colon (and possibly dot) notation as  per  RFC  2373.

So this bug can be closed.

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