Re: DHCP Server and Internet Connection Sharing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 8 Oct 2003, David Smith  wrote:

> Hi
> 
> I have a redhat 9 linux machine that I want to use, to share a broadband connection to other computers.
> 
> So I allowed the machine to act as NAT and also I installed a DHCP server that assigns dynamic ip addresses 
> to my clients.
> 
> Everything works ok but the DNS actualization to the clients.
> 
> The DHCP assigns correctly the ip addresses but never actualizes the DNS addresses to the clients, so the 
> cannot acces internet.  I'm sure the nat works ok too 'cause I set up the DNS addresses manualy on the 
> clients and they can access internet through the nat machine ok.
> 
> How can I tell the DHCP server to send updated DNS information to the clients ?

You need to make sure that you have a line in your /etc/dhcpd.conf file 
that looks like this:

option domain-name-servers xxx.xxx.xxx.xxx, yyy.yyy.yyy.yyy;

The IPs represented by xxx.xxxx.xxx.xxx and yyy.yyy.yyy.yyy can be your 
ISP's DNS servers, or, if you're running a DNS server on the NAT/DHCP 
server box, you can set that to be your own IP.

Then, restart dhcpd, have your client machines release and renew, and you 
should be all set.

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux