How do you change DNS entries to lowercase?

  • Thread starter Thread starter Simon Taylor
  • Start date Start date
S

Simon Taylor

Some colleagues have created A and PTR records in our DNS using upper
or mixed case. We want to change the entries to be lowercase to be
consistent with all the other entries but this is proving difficult.
If we delete them and recreate them, they come back as they were.
We've tried deleting, forcing replication, waiting for the changes to
go around the domain, then recreating but still no joy.

Can anyone please help with this?

Thanks - Simon
 
If the zone is AD-integrated, convert it to Primary. Then right-click on it
and click "Update Server Data File". The zone will be written to a file in
your system32\dns folder. Make a backup copy of the file (just in case),
then open up the original file in notepad. Make the changes you want to
make - be very careful not to mess it up. Then increment the "serial number"
by about, say, 100. Save the file and restart DNS.

Convert the zone back to AD-integrated.

--
Sincerely,

Dèjì Akómöláfé, MCSE MCSA MCP+I
www.akomolafe.com
www.iyaburo.com
Do you now realize that Today is the Tomorrow you were worried about
Yesterday? -anon
 
ST> We want to change the entries to be lowercase to be
ST> consistent with all the other entries but this is
ST> proving difficult.

It will prove to be irrelevant. Because of the way that the daft datagram
compression scheme in the DNS protocol works, the case of domain names in
answers doesn't necessarily reflect the case of those domain names as stored
in one's DNS database, and will in fact vary according to the case of the
domain name used in the original query.

[C:\]dnsqry /serverip:216.200.206.140 a HOTmail.com.
[0.0.0.0:0000] -> [216.200.206.140:0035] 29
Header: 0000 1+0+0+0, Q, , query, no_error
Question: HOTmail.com. IN A

[216.200.206.140:0035] -> [0.0.0.0:0000] 197
Header: 0000 1+2+4+4, R, AUTH, query, no_error
Question: HOTmail.com. IN A
Answer: HOTmail.com. IN A 3600 64.4.32.7
Answer: HOTmail.com. IN A 3600 64.4.33.7
Authority: HOTmail.com. IN NS 3600 ns1.HOTmail.com.
Authority: HOTmail.com. IN NS 3600 ns2.HOTmail.com.
Authority: HOTmail.com. IN NS 3600 ns3.HOTmail.com.
Authority: HOTmail.com. IN NS 3600 ns4.HOTmail.com.
Additional: ns1.HOTmail.com. IN A 3600 216.200.206.140
Additional: ns2.HOTmail.com. IN A 3600 216.200.206.139
Additional: ns3.HOTmail.com. IN A 3600 209.185.130.68
Additional: ns4.HOTmail.com. IN A 3600 64.4.29.24

[C:\]dnsqry /serverip:216.200.206.140 a hotMAIL.com.
[0.0.0.0:0000] -> [216.200.206.140:0035] 29
Header: 0000 1+0+0+0, Q, , query, no_error
Question: hotMAIL.com. IN A

[216.200.206.140:0035] -> [0.0.0.0:0000] 197
Header: 0000 1+2+4+4, R, AUTH, query, no_error
Question: hotMAIL.com. IN A
Answer: hotMAIL.com. IN A 3600 64.4.32.7
Answer: hotMAIL.com. IN A 3600 64.4.33.7
Authority: hotMAIL.com. IN NS 3600 ns1.hotMAIL.com.
Authority: hotMAIL.com. IN NS 3600 ns2.hotMAIL.com.
Authority: hotMAIL.com. IN NS 3600 ns3.hotMAIL.com.
Authority: hotMAIL.com. IN NS 3600 ns4.hotMAIL.com.
Additional: ns1.hotMAIL.com. IN A 3600 216.200.206.140
Additional: ns2.hotMAIL.com. IN A 3600 216.200.206.139
Additional: ns3.hotMAIL.com. IN A 3600 209.185.130.68
Additional: ns4.hotMAIL.com. IN A 3600 64.4.29.24

[C:\]
 
you can do it directly in the dns-database. start the active directory
users and computers snap in > view -> advanced features <
must be set and then you can delete the uppercase entries in
domain/System/MicrosoftDNS/11.11.111.in-addr.arpa.

delete all entries with uppercase and create new in dns-mgmt-console.
after this restart the dns-server.

joerg.
 
In
joergath said:
you can do it directly in the dns-database. start the active directory
users and computers snap in > view -> advanced features <
must be set and then you can delete the uppercase entries in
domain/System/MicrosoftDNS/11.11.111.in-addr.arpa.

delete all entries with uppercase and create new in dns-mgmt-console.
after this restart the dns-server.

joerg.

DNS is not case sensitive, but if it is queried in lower case, it answers in
lower case and vice-versa for upper case. So the question is not how to
change the case of the records, but how to make the client query in lower
case. Because if the query comes in lower case, the answer will be in lower
case, regardless of what the actual case of the record is in.
 
Back
Top