Changing Host IP / repurcussions
Hello,I was wondering if anyone knew the answer to the following question for me:
I have 2 ethernet cards eth0 and eth1. They both have different IP's. I just recently brought the eth0 online, and it is now the default route out of the server. I am now getting warnings from cpanel saying that my dns for the server does not resolve to the correct IP. It is resolving to the eth1 card, and the packets are going out of the eth0 card. This is causing some hosts to reject mail from my mail server (hotmail, etc). So, my question is this:
will there be any repurcussions in changing the DNS entry for my host name to the IP on eth0? This would cause the DNS to resolve correctly, and I think the emails would start getting through to hotmail. I have a number of virtual hosts running on a shared IP (for eth1), but it looks like they do work fine if I put http://ip.for.eth0/~theirusername/ , so I think this should be fine.
One possible problem could be that cpanel checks your hostname for the correct IP, if I change this, it may not work anylonger.
If you guys could let me know of anything that could cause problems by me changing the DNS entry for my hostname, please let me know!
Thanks!