Hi there. I use the “Hosts” configuration page of iPFire to define internal IPs (that from the DMZ, for example) for external hostnames, eg:
192.168.15.45 www.mydomain.com
192.168.15.45 mail.mydomain.com
192.168.15.45 autoconfig.mydomain.com
192.168.15.45 analytics.mydomain.com
and so on. This works quite well, a client in the intranets (GREEN, BLUE) is directly routed to the DMZ IP, and WAN clients in the internet are natted via the RED interface into the DMZ.
But, when pinging (in the intranet), for example:
$ ping www.mydomain.com
it often doesn’t reply with the pinged hostname but with a different one, e.g:
64 bytes from analytics.mydomain.com (192.168.15.45): icmp_seq=1 ttl=63 time=0.771 ms
64 bytes from analytics.mydomain.com (192.168.15.45): icmp_seq=2 ttl=63 time=0.669 ms
64 bytes from analytics.mydomain.com (192.168.15.45): icmp_seq=3 ttl=63 time=0.605 ms
In addition, when repeating the ping towards www after a break it answers again but often with a different hostname:
64 bytes from mail.mydomain.com (192.168.15.45): icmp_seq=1 ttl=63 time=0.640 ms
64 bytes from mail.mydomain.com (192.168.15.45): icmp_seq=2 ttl=63 time=0.708 ms
64 bytes from mail.mydomain.com (192.168.15.45): icmp_seq=3 ttl=63 time=0.677 ms
I’d like to have a response here from www hostname rather than analytics or mail.
Is there anything I can do about this? Thank you for suggestions ![]()