This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/14242] New: Please allow specification of port in resolv.conf


http://sourceware.org/bugzilla/show_bug.cgi?id=14242

             Bug #: 14242
           Summary: Please allow specification of port in resolv.conf
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: libc
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jdthood@gmail.com
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


The OpenBSD version of resolv.conf(5) says:

     nameserver  IPv4 address (in dot notation) or IPv6 address (in hex-and-
                 colon notation) of a name server that the resolver should
                 query.  Scoped IPv6 address notation is accepted as well (see
                 inet6(4) for details).  A non-standard port may be specified
                 using [host]:port syntax.  When a non-standard port is
                 specified the host address must be enclosed in square
                 brackets.  For example:

                       nameserver [10.0.0.1]:5353
                       nameserver [::1]:5353

It would be useful if the glibc resolver, like the OpenBSD resolver, allowed a
non-standard port number to be specified.  Then it would be possible to run
more than one name server on a machine where at least one of the name servers
listens on a wildcard address.  This case came up here:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/959037.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]