DNS with multiple connections -or- how to set "primary" IP?
A server that previously had only one purpose (file server) is now serving a second purpose (receiving files over sftp). Because the software that sends the files over sftp can't be changed, I set the second ethernet port on this server to the same settings as the server that was decomissioned. (Same network, different IP)
The hostname of this machine SHOULD be: myservername.something.something.com
The hostname of this machine is being reported as: myservername.local.
That means DNS is broken on this machine, which ***** because it's my OD Master and I can't get clients to bind.
When I run "sudo changeip -checkhostname" I get the followng response:
Primary address = xx.xxx.xx.1
Current HostName = the.correct.host.name
The DNS hostname is not available, please repair DNS and re-run this tool.
The problem is that the IP address listed under "Primary address" isn't the address to which the host name is registered. (Let's say the hostname is registered to xx.xxx.xx.2)
So I either need to set the server's "primary" IP to the correct address, or figure out how to use changeip -checkhostname to check a specific adapter.
dig and dig -x return the correct data for the IP and hostname... the DNS servers are set up correctly.
Any advice on properly setting up DNS on a server with two IP addresses?
Thanks in advance!