Modifying Mixed Case Mid-level Domain Names to be all Lower Case

Martin McCormick martin at dc.cis.okstate.edu
Sat Nov 14 21:01:13 UTC 2009


Is there a way using nsupdate to change a $origin directive in a
zone file?

	Some months ago, I accidentally loaded a configuration
in to a DHCP server that registered a bunch of private-network
hosts having a domain name of WiFi-ATRC.osu. We really wanted
wifi-atrc.osu. Bind worked properly and placed $origin
directives in the osu zone. Since dig builds the FQDN out of
these, all names in that domain end in WiFi-ATRC.osu which
confuses members of our group when they look at a zone file for
any reason. Is there a way to make bind rewrite those $origin
directives using nsupdate or any other safe control means?

	This certainly does not effect resolution but scripts
that do various things can sometimes get confused by the
Mixed-case names. I would be really happy if there was a way in
bind9.5 to force all names to lower case. I realize that the
bodies of .TXT records must preserve their case, but the names,
themselves, ignore case so let's have them all lower case.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Telecommunications Services Group



More information about the bind-users mailing list