This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/14242] New: Please allow specification of port in resolv.conf
- From: "jdthood at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 14 Jun 2012 19:08:12 +0000
- Subject: [Bug libc/14242] New: Please allow specification of port in resolv.conf
- Auto-submitted: auto-generated
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.