bin/186510: [PATCH] Latest BIND port triggers problem in portsnap

Oliver Fromme oliver.fromme at secnetix.de
Thu Feb 6 14:30:02 UTC 2014


The following reply was made to PR bin/186510; it has been noted by GNATS.

From: Oliver Fromme <oliver.fromme at secnetix.de>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: bin/186510: [PATCH] Latest BIND port triggers problem in portsnap
Date: Thu, 6 Feb 2014 15:20:33 +0100 (CET)

 Addendum:
 
 At first I wasn't able to reproduce the problem on a second machine.
 Then it turned out that it actually depends on the name server being used:
 
 $ host -t srv _http._tcp.portsnap.freebsd.org. ns-20.awsdns-02.com.
 ;; Truncated, retrying in TCP mode.
 Using domain server:
 Name: ns-20.awsdns-02.com.
 Address: 205.251.192.20#53
 Aliases:
 _http._tcp.portsnap.freebsd.org has SRV record 1 10 80 ec2-eu-west-1.portsnap.freebsd.org.
 _http._tcp.portsnap.freebsd.org has SRV record 2 10 80 sourcefire.portsnap.freebsd.org.
 _http._tcp.portsnap.freebsd.org has SRV record 2 10 80 your-org.portsnap.freebsd.org.
 _http._tcp.portsnap.freebsd.org has SRV record 3 10 80 isc.portsnap.freebsd.org.
 _http._tcp.portsnap.freebsd.org has SRV record 4 10 80 ec2-ap-northeast-1.portsnap.freebsd.org.
 _http._tcp.portsnap.freebsd.org has SRV record 4 10 80 ec2-ap-southeast-2.portsnap.freebsd.org.
 _http._tcp.portsnap.freebsd.org has SRV record 4 10 80 ec2-sa-east-1.portsnap.freebsd.org.
 
 $ host -t srv _http._tcp.portsnap.freebsd.org. 127.0.0.1
 ;; Truncated, retrying in TCP mode.
 Using domain server:
 Name: 127.0.0.1
 Address: 127.0.0.1#53
 Aliases:
 _http._tcp.portsnap.FreeBSD.org has SRV record 2 10 80 your-org.portsnap.freebsd.org.
 _http._tcp.portsnap.FreeBSD.org has SRV record 4 10 80 ec2-ap-southeast-2.portsnap.freebsd.org.
 _http._tcp.portsnap.FreeBSD.org has SRV record 1 10 80 ec2-eu-west-1.portsnap.freebsd.org.
 _http._tcp.portsnap.FreeBSD.org has SRV record 4 10 80 ec2-ap-northeast-1.portsnap.freebsd.org.
 _http._tcp.portsnap.FreeBSD.org has SRV record 3 10 80 isc.portsnap.freebsd.org.
 _http._tcp.portsnap.FreeBSD.org has SRV record 2 10 80 sourcefire.portsnap.freebsd.org.
 _http._tcp.portsnap.FreeBSD.org has SRV record 4 10 80 ec2-sa-east-1.portsnap.freebsd.org.
 
 In the first case, one of the authoritative servers for the
 portsnap.freebsd.org domain was used.  In the second case,
 the local BIND *the one from the dns/bind99 port) was used.
 The latter seems to preserve the case, the former does not.
 
 I'm not sure at what point the case conversion happens exactly.
 But that doesn't really matter.  As I wrote earlier, DNS names
 are generally case-insensitive, so matching must be done in a
 case-insensitive way.
 
 Best regards
    Oliver


More information about the freebsd-bugs mailing list