v9.3.0 and hyphens

phn at icke-reklam.ipsec.nu phn at icke-reklam.ipsec.nu
Tue Oct 26 06:23:52 UTC 2004


Larry Adamiec <ladamiec at yahoo.com> wrote:

>>bind-users-bounce at isc.org wrote on 10/25/2004
> 11:29:37 AM:
>>> I have just installed v9.3.0 on a Solaris 9 Sparc
>>> machine.  Any zone, with a record that has a hyphen
> in
>>> it causes problems; '21-Oct-2004 13:32:08.000
> general:
>>> error: zone 2.158.66.in-addr.arpa/IN: loading
>>> master file 66.158.2.rev: bad name (check-names)'
>>> and
>>> '21-Oct-2004 13:32:08.047 general: error: zone
>>> kentlaw.edu/IN: loading master file kentlaw.hosts:
> bad
>>> owner name (check-names)'
>>> 
>>> Does anyone know of any solution or workaround for
>>> this?  I will not be able to remove the hyphens as
> our
>>> MS Active Directory records contains info with
> hyphens
>>> in them as well as many of our clients.

>>Hypens should be legal.  Underscores are also legal
>>in a domain name, just 
>>not in a host name.  Could you post the offending db
>>files?

> Here is a portion of the file.

> $ORIGIN .
> $TTL 43200      ; 12 hours
> kentlaw.edu             IN SOA  nsa.kentlaw.edu.
> randoni.kentlaw.edu. (
>                                 2004021928 ; serial
>                                 14400      ; refresh
> (4 hours)
>                                 3600       ; retry (1
> hour)
>                                 864000     ; expire (1
> week 3 days)
>                                 43200      ; minimum
> (12 hours)
>                                 )
>                         NS      nsa.kentlaw.edu.
>                         NS      nsb.kentlaw.edu.

> 600front                A       66.158.1.102
> 703front                A       66.158.1.103
> 723fix                  A       66.158.1.104
> 749front                A       66.158.1.105
> 771back                 A       66.158.1.150
> 775front                A       66.158.1.106
> 803front                A       66.158.1.147
> 823back                 A       66.158.1.148
> 849back                 A       66.158.1.149
> 97conf                  CNAME   devzero
> $ORIGIN _msdcs.kentlaw.edu.
> $TTL 600        ; 10 minutes
> 0baa18a5-e2aa-4a72-8aa9-736aeae14ba2 CNAME
> nwmigrate.kentlaw.edu.


Ok, i cut-n-paste this into "manet.nu", controlled by
bind-9.3.0 :

0baa18a5-e2aa-4a72-8aa9-736aeae14ba2.manet.nu. IN CNAME nwmigrate.kentlaw.edu.

reload is without trouble :
Oct 26 08:21:28 n named[69533]: general: loading configuration from '/named.conf'
Oct 26 08:21:28 n named[69533]: general: zone manet.nu/IN: loaded serial 2004102603

So either you have an additional error present in the windowsport of
bind or your zonefile contains hidden characters.


-- 
Peter Håkanson         
        IPSec  Sverige      ( At Gothenburg Riverside )
           Sorry about my e-mail address, but i'm trying to keep spam out,
	   remove "icke-reklam" if you feel for mailing me. Thanx.


More information about the bind-users mailing list