2 IP addresses 1 VPS

i have a VPS with two IP addresses


..*.140 is on eth0
i am installing and it says

Primary Hostname: box.****.email
Public IP Address: ..
Mail-in-a-Box Version: v0.52

Updating system packages…
Installing system packages…
Initializing system random number generator…
Firewall is active and enabled on system startup

will this be a problem?
i have setup my DNS at my domain registrar for both IP’s
and my hoster is really slow at updating RDNS
rdns was setup for ..*.140
and i guess ill do

ns1.box.****.email = ...139

ns2.box.****.email = ...140

should this work correctly?

i got it … i just edited /etc/network/interfaces and commented out the other IP info.

You will probably want to set both ns1 and ns2 to the same IP since they directing to the same box.

If you want to know which is the “real” IP, use this command

ip -o route get to | sed -n 's/.*src \([0-9.]\+\).*/\1/p'

this gives you the out going IP which makes it the “real Ip” of the box

i got it all straight now … thanks for the help