General discussion

Locked

Network Question

By gregberry ·
We are turning up our new internet service today, I was just informed that we need to change the ip address and dns info on our internal unix mail server.

How do I change the IP and DNS settings? I am not a Unix guy, so I am at your mercy.

What about MX tables, do I need to do anything with them?

We are doing this on Fri Feb 1, 2001 at about 4pm, so the quicker the better.

Thanks!

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Network Question

by saudahmadaziz In reply to Network Question

DNS setting should be or could be changed with resolv.conf file under /etc directory. "This file just tells the computer which computer on the Internet it should query for DNS information."

i would recommend you to visit this site....

"http://www.lyris.com/mshelp/GenericSetupwith2Machines.html"

It will help you out in setting MX tables as well ;-)

Collapse -

Network Question

by gregberry In reply to Network Question

Poster rated this answer

Collapse -

Network Question

by egbertsl In reply to Network Question

Dont forget the DNS server! There should be an entry with the new server name/ip!

succes!

Collapse -

Network Question

by gregberry In reply to Network Question

Poster rated this answer

Collapse -

Network Question

by cpfeiffe In reply to Network Question

For Sun (solaris)
Changing IP address:
You will have a file called /etc/hostname.INT where INT is the interface ID that your network cable connects to. It is probably the only hostname.INT file you have, if you only have one network connection. In that file you have an IP address or a name (default is name, but if it is IP you can put the new IP here). If it is the name that name will be in your /etc/hosts file. Edit your hosts file to point the name to the new IP address. If the IP address will be on a different subnet you will need to edit /etc/netmasks and set it there. Every time you reboot thereafter the new config will take effect. If you want to activate it without rebooting you can do this - ifconfig INT inet NEW_IP netmask NEW_NETMASK broadcast NEW_BROADCAST up. If the machine will be on a new subnet you may need to set the default route. You can do this permanently (for reboots) by putting the new default route in /etc/defaultrouter. To set it on the command lineto take effect immediately use - route add default NEW_ROUTE. Don't forget to delete the old default first. (You can see the old default with - netstat -rn |grep default). To delete it use - route delete default DEFAULT_IP.

As for DNS, otheranswers are correct. You won't need to change the MX record if only the IP address is changing, but you will need to change the A and PTR records that associate the server name with its IP address.

On HP-UX you set your permanent (for reboot) network settings in the /etc/rc.config.d/netconf file as will as making changes to the /etc/hosts and /etc/netmasks file where needed. SAM can step you through these procedures if you prefer this over editing the files. In AIX you can use SMIT. Don't forget the default route. If you have another flavor of UX let me know and I'll post the proper method.

Good luck.

Collapse -

Network Question

by gregberry In reply to Network Question

Poster rated this answer

Collapse -

Network Question

by gregberry In reply to Network Question

This question was closed by the author

Back to Linux Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums