Benches Uncategorized

2

Hostname showing multiple ".com" extensions

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hello,

All of a sudden our server is showing it's hostname as editsrv1.sublife.com.sublife.com.sublife.com

While this server is an OpenDirectory master, it's never behaved like this.

I've checked the A and PTR records on our Windows 2003 DNS server and they are all correct.
I've edited the hostconfig file to make sure it's hostname is editsrv1.sublife.com
I've ran the scutil --sethostname command

when running the *changeip -checkhostname* command I get the following results:

*Primary address = 192.168.16.25*

*Current HostName = editsrv1.sublife.com.sublife.com.sublife.com*

*The DNS hostname is not available, please repair DNS and re-run this tool.*

Nothing works.

Anyone with any thoughts on what's going on and how I can fix this. File sharing and user logins are running fine, but it's affecting our nightly backups, as for some reason, Symantec Backup Exec will not backup via IP address and resolves the hostname instead.

Thank you so much in advance.
T

2 replies

Sign in or join Beachball Help to reply.

  1. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    It's unusual to see a triple appendage of the domain name, but a double is very common - it's an error in the DNS zone file - namely a missing trailing .

    Are you sure this machine is using the Windows DNS server for resolution? If it were, I'd expect all other systems to see the same result, but it's not clear from your post that's what's happening.

    Can you run dig -x 192.168.16.25 and post the result. That should make it clearer.

  2. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks dude, but we just figured it out.

    The PTR records had 2 entries...1 for editsrv1 and another for editsrv1.sublife.com

    While this shouldn't have made any difference, we deleted the first one and everything was cool.