I have a gateway machine with 1 public and 1 private IP address.
It all works well.
We decided to change the IP address (public) because our primary ISP is down.
After changing the details of the rc.conf for the new defaultrouter and static IP for the
public ip. I did these commands
All works well again after checking the new IP address by using
But here is what the problem is, name resolution doesn't work.
I have to restart the server for name resolution to work.
is there something in rc.d service that I need to restart so that
name resolution will work without rebooting the entire server?
* We use openDNS in /etc/resolv.conf
Thanks
It all works well.
We decided to change the IP address (public) because our primary ISP is down.
After changing the details of the rc.conf for the new defaultrouter and static IP for the
public ip. I did these commands
Code:
/etc/rc.d/netif restart && /etc/rc.d/routing restart
All works well again after checking the new IP address by using
Code:
ifconfig
But here is what the problem is, name resolution doesn't work.
I have to restart the server for name resolution to work.
is there something in rc.d service that I need to restart so that
name resolution will work without rebooting the entire server?
* We use openDNS in /etc/resolv.conf
Thanks