Re: LAN configured by DHCP

From: Tauno Voipio (tauno.voipio.REMOVE_at_iki.fi.NOSPAM)
Date: 12/02/04


Date: Thu, 02 Dec 2004 09:03:54 GMT

Stefan Monnier wrote:
>>I have a LAN with and a gateway running Linux acting as a Firewall and
>>NAT, it acts as a dhcp server as well. My question is about what are
>>the differences or what is better, configure the dhcp server to
>>configure the clients with the "public" dns server (the one that my
>>ISP provides), or to configure a DNS server in the machine that acts
>>as a gateway and configure the DNS of the other machines with the
>>gateway machine adress?
>
>
> I recommend you use dnsmasq as both your DHCP and DNS server and then tell
> your clients to use the gateway for DNS.
> This way you can give local names to your machines,
>
>
> Stefan

Another vote to dnsmasq.

Stay away from bind - it's too heavy for this kind of work.

-- 
Tauno Voipio
tauno voipio (at) iki fi


Relevant Pages

  • Re: LAN configured by DHCP
    ... it acts as a dhcp server as well. ... > as a gateway and configure the DNS of the other machines with the ... I recommend you use dnsmasq as both your DHCP and DNS server and then tell ...
    (comp.os.linux.networking)
  • LAN configured by DHCP
    ... it acts as a dhcp server as well. ... or to configure a DNS server in the machine that acts ... as a gateway and configure the DNS of the other machines with the ...
    (comp.os.linux.networking)
  • Unplanned logoff
    ... I can ping the server from client successfully. ... ipconfig /all shows that the gateway, dhcp server, dns server are all set to the internal nic address on the server, and dns suffix shows apprpriate to my domain name. ...
    (microsoft.public.windows.server.sbs)
  • Re: Changing the Default Gateway
    ... Since you can ping the DNS server, use nslookup to *manually* query the DNS server and see what happens. ... Many upstream providers only allow DNS queries from their own network connections. ... So by switching to the other device as a gateway, your DNS queries may be getting blocked at *their* network edge. ... Second, if I read you correctly you have 2 NICS teamed on the same subnet and all computers, including the SBS are attached to a switch, along with the router. ...
    (microsoft.public.windows.server.sbs)
  • Re: Changing the Default Gateway
    ... Second, if I read you correctly you have 2 NICS teamed on the same subnet and all computers, including the SBS are attached to a switch, along with the router. ... Third, the *kind* of service offered by the carrier should have nothing to do with the ip settings on the ports of your devices, although it may introduce some complexity into the relationship between the LAN and the WAN, with devices to facilitate the hand off that I have never seen. ... Currently our frame network uses .254 as its gateway. ... All tests passed on this DNS server ...
    (microsoft.public.windows.server.sbs)