Postfix log shows lots of these:
warning: hostname client.lab.lan does not resolve to address 192.168.1.153
Yet a DNS lookup from the server shows that it does resolve:
# nslookup client.lab.lan
Server: 192.168.10.242
Address: 192.168.10.242#53
Name: client.lab.lan
Address: 192.168.1.153
Name: client.lab.lan
Address: 192.168.10.4
I'm assuming it has something to do with the multiple A records, but no idea how to fix it.
Any hints on how to just disable that warning would be appreciated too.
Best Answer
The fact that there are multiple A records means that you have a roughly 50% chance of getting one or the other. You can either (a) remove one of the
A
records or (b) create the appropriatePTR
records so that both addresses reverse to the correct value.