Subject: Re: wild cards

From: Mark Andrews <[email-masked]>
Date: Tue, 07 Sep 2004 10:44:51 +1000

> On Wed, Sep 01, 2004 at 11:56:47AM -0400, Edward Lewis wrote:
> > >Issue (4b): Whether or not "*" can be in the middle of a name.  There
> > >was no discussion in the room on this one.  The basic issue is that
> > >the draft goes to great length to talk about how this is handled.
> > >Later on, someone noticed that 1034 discourages this.
> 
> It seems like BIND did change behaviour server-side when loading zones
> containing such wildcard constructs between 8 and 9. The SourceForge
> people got bitten by that:
> 
> http://sourceforge.net/docman/display_doc.php?group_id=1&docid=2352
> 
> <cite>
> As of 2004-04-28 the CVS services will no longer function with the
> hostname of cvs.PROJECTNAME.sourceforge.net. You should change your CVS
> commands to use the host cvs.sourceforge.net [...]. This issue came
> about as a result of upgrading from BIND 8 to BIND 9 which doesn't
> allow for a wildcard in the middle of a hostname.
> </cite>
> 
> 
> Best regards,
> Daniel
> 
> --
> to unsubscribe send a message to [email-masked] with
> the word 'unsubscribe' in a single line as the message text body.
> archive: <http://ops.ietf.org/lists/namedroppers/>

	Strange as there has never been a test for this in the BIND 9.
	Stranger still as they work as you would expect them to work.
	NODATA responses for cvs.PROJECTNAME.sourceforge.net.example.

	It really sounds like they had a hacked version of BIND 8.

	Mark

drugs# dig cvs.\*.sourceforge.net.example

; <<>> DiG 8.3 <<>> cvs.*.sourceforge.net.example 
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38945
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; QUERY SECTION:
;;      cvs.*.sourceforge.net.example, type = A, class = IN

;; ANSWER SECTION:
cvs.*.sourceforge.net.example.  10S IN A  1.2.3.4

;; AUTHORITY SECTION:
example.                5M IN NS        drugs.dv.isc.org.

;; ADDITIONAL SECTION:
drugs.dv.isc.org.       1D IN A         192.168.191.236
drugs.dv.isc.org.       1D IN AAAA      2001:470:1f00:820:208:74ff:fe9f:eeae

;; Total query time: 1 msec
;; FROM: drugs.dv.isc.org to SERVER: 127.0.0.1
;; WHEN: Tue Sep  7 10:23:15 2004
;; MSG SIZE  sent: 47  rcvd: 137

drugs# dig version.bind txt chaos +norec

; <<>> DiG 8.3 <<>> version.bind txt chaos +norec 
;; res options: init defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33747
;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;      version.bind, type = TXT, class = CHAOS

;; ANSWER SECTION:
version.bind.           0S CHAOS TXT    "9.3.0rc4"

;; AUTHORITY SECTION:
version.bind.           0S CHAOS NS     version.bind.

;; Total query time: 1 msec
;; FROM: drugs.dv.isc.org to SERVER: 127.0.0.1
;; WHEN: Tue Sep  7 10:23:54 2004
;; MSG SIZE  sent: 30  rcvd: 65

drugs# 

	Restarting w/ BIND 9.2

drugs# dig cvs.\*.sourceforge.net.example

; <<>> DiG 8.3 <<>> cvs.*.sourceforge.net.example 
;; res options: init recurs defnam dnsrch
Sep 07 10:29:50.502 client 127.0.0.1#2194: query: cvs.*.sourceforge.net.example IN A
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61113
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;      cvs.*.sourceforge.net.example, type = A, class = IN

;; ANSWER SECTION:
cvs.*.sourceforge.net.example.  10S IN A  1.2.3.4

;; AUTHORITY SECTION:
example.                5M IN NS        drugs.dv.isc.org.

;; Total query time: 0 msec
;; FROM: drugs.dv.isc.org to SERVER: 127.0.0.1
;; WHEN: Tue Sep  7 10:29:50 2004
;; MSG SIZE  sent: 47  rcvd: 93

drugs# dig version.bind txt chaos +norec

; <<>> DiG 8.3 <<>> version.bind txt chaos +norec 
;; res options: init defnam dnsrch
Sep 07 10:29:59.795 client 127.0.0.1#2903: query: version.bind CH TXT
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25799
;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;      version.bind, type = TXT, class = CHAOS

;; ANSWER SECTION:
version.bind.           0S CHAOS TXT    "9.2.4rc8"

;; Total query time: 0 msec
;; FROM: drugs.dv.isc.org to SERVER: 127.0.0.1
;; WHEN: Tue Sep  7 10:29:59 2004
;; MSG SIZE  sent: 30  rcvd: 51

drugs# dig cvs.PROJECTNAME.sourceforge.net.example

; <<>> DiG 8.3 <<>> cvs.PROJECTNAME.sourceforge.net.example 
;; res options: init recurs defnam dnsrch
Sep 07 10:34:00.453 client 127.0.0.1#3451: query: cvs.PROJECTNAME.sourceforge.net.example IN A
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44941
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;      cvs.PROJECTNAME.sourceforge.net.example, type = A, class = IN

;; AUTHORITY SECTION:
example.                1m30s IN SOA    localhost.dv.isc.org. marka.isc.org. (
                                        3721            ; serial
                                        20M             ; refresh
                                        10M             ; retry
                                        4d4h            ; expiry
                                        1m30s )         ; minimum

;; Total query time: 1 msec
;; FROM: drugs.dv.isc.org to SERVER: 127.0.0.1
;; WHEN: Tue Sep  7 10:34:00 2004
;; MSG SIZE  sent: 57  rcvd: 119

drugs# 
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: [email-masked]

--
to unsubscribe send a message to [email-masked] with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/namedroppers/>