server CLI how to fix dns resolution,proxy and to static IP
Tom H
tomh0665 at gmail.com
Wed Jun 13 07:55:44 UTC 2012
On Tue, Jun 12, 2012 at 7:28 PM, Rajeev Prasad <rp.neuli at yahoo.com> wrote:
> i checked on web but the solutions are for GUI. i have this fresh server
> install, which is getting its IP and DNS from DHCP. I want to put my own DNS
> server and keep getting the IP from DHCP.
If you mean that you want to set up a dns server and have its address
pushed to dhcp clients then add a "option domain-name-servers
ip-address-of-your-dns-server;" line to "/etc/dhcp/dhcpd.conf" on your
dhcp server.
> also later on i want to put an static IP and do not want DHCP server/client
> on the box how to do that migration?
Edit "/etc/network/interfaces" and "/etc/resolv.conf" on your server.
More information about the ubuntu-users
mailing list