Re: Modifying Mixed Case Mid-level Domain Names to be all Lower Case
Martin McCormick wrote: > Is there a way using nsupdate to change a $origin directive in a > zone file? $origin is a preprocessor statement. It's not an attribute of a zone, so you cannot change it directly. When BIND writes zone files, it uses $origin to group records that share a common base name. Just "update delete/add" all records and the mixed case $origin disappears. HTH, Hauke. signature.asc Description: OpenPGP digital signature ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Modifying Mixed Case Mid-level Domain Names to be all Lower Case
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 ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Modifying Mixed Case Mid-level Domain Names to be all Lower Case
Hauke Lampe writes: > $origin is a preprocessor statement. It's not an attribute of a zone, so > you cannot change it directly. > > When BIND writes zone files, it uses $origin to group records that share > a common base name. Just "update delete/add" all records and the mixed > case $origin disappears. Excellent. That is kind of what I thought about doing but I wasn't completely sure if I was not missing something so that is what I will do. Thank you. Martin McCormick ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users