Re: Dnsmasq and resolvconf was Re: AAAARGHHHHH - aptitude hosed my system

From: Seeker5528 (seeker5528_at_comcast.net)
Date: 02/23/05

  • Next message: Darryl Clarke: "Re: Thunderbird/IMAP brief hangs on exit"
    Date: Tue, 22 Feb 2005 19:12:30 -0800
    To: debian-user@lists.debian.org
    
    

    On Mon, 21 Feb 2005 12:15:51 +0100
    Bob Alexander <bob@ngi.it> wrote:

    > > I have the package dhcp-client installed and when I comment my
    static configuration and use dhcp the nameserver information is added
    and removed by resolvconf when I ifup and ifdown the interface.
    > >
    > > I have not used dnsmasq but after reading up on it, it seems to me
    it would make more sense to...
    > >
    > > Disable the DHCP server on the router.
    > > Use a static configuration on the machine with dnsmasq installed.
    > > Use dnsmasq as the DHCP server for the other machines on the
    network.
    > >
    >
    > I do not fully understand your email. My setup (with the DHCP server
    on
    > the router) works absolutely fantastically for me ... I travel with
    this
    > laptop from home to office and dhclient, ifup/down, ifplugd, dnmasq,
    > resolvconf take care of everything as I expect.
    >
    > Thank you.
    >
    > Bob
    >

    My understanding of networking issues is relatively limited, but the way
    things should work...

    If your networked machines all get their network configuration through
    DHCP and the DHCP server is the one on the router, then they should get
    the DNS numbers of the DNS server(s) the router connects to.

    >From reading the package description of dnsmasq, I see it being a
    benefit when you set it up on a single machine to handle DNS for your
    local network and to query the DNS servers on the internet and forward
    the response to the local machines as necessary.

    For staticly configured machines on your local network you would set
    them to use the machine with dnsmasq installed as the nameserver and add
    their ip number and name to the hosts file on the computer where dnsmasq
    is installed, then they should be able to access the internet sites by
    name as well as accessing other local machines by name.

    If dnsmasq is used as the DHCP server, then when it gives a client
    machine it's address it should also be able to pick up it's name so it
    can provide DNS translation for that address/name pairing to the rest of
    the local machines and they can then access DHCP configured computers by
    name, without having to make sure those computers get the same address
    every time and having them listed permanently in your hosts file on the
    machine where dnsmasq is installed.

    For all of this to work to it's full potential with DHCP configured
    machines you would need to:

    > > Disable the DHCP server on the router.
    > > Use a static configuration on the machine with dnsmasq installed.
    > > Use dnsmasq as the DHCP server for the other machines on the
    network.

    If it is not a benefit for you to do above things, I do not see a reason
    to have dnsmasq installed on any of your machines and certainly not on a
    laptop, but if it is installed and things are working the words 'if it's
    not broke don't fix it' come to mind. ;)

    Later, Seeker

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Darryl Clarke: "Re: Thunderbird/IMAP brief hangs on exit"

    Relevant Pages

    • Re: Local Lan DNS Problems
      ... Could there be a problem with the IPCop DNS? ... > So I'm looking at this as a straight dnsmasq issue. ... > There seem to be some dhcp fixes. ... > since the DHCP server gets the hostname from DNS which in this case is ...
      (comp.os.linux.networking)
    • Re: Local Lan DNS Problems
      ... Could there be a problem with the IPCop DNS? ... So I'm looking at this as a straight dnsmasq issue. ... There seem to be some dhcp fixes. ... -- especially if the client machines have seen previous duty with other ...
      (comp.os.linux.networking)
    • Re: Moved DHCP server to DC, now only works for domain users
      ... Machines get an IP Config before the user can even login in the first ... If a machine got a Config from the Linksys box then it will keep ... "alive" it will try the Linksys box even of the Linksys DHCP Service ...
      (microsoft.public.windows.server.networking)
    • Re: Moved DHCP server to DC, now only works for domain users
      ... Machines get an IP Config before the user can even login in the first ... If a machine got a Config from the Linksys box then it will keep ... "alive" it will try the Linksys box even of the Linksys DHCP Service ...
      (microsoft.public.windows.server.networking)
    • Re: Continuing internet oddities
      ... From your bellsouth address and the fact that you have DHCP, I presume you are also have to contend with PPPoE. ... Boot the old machine from the SmoothWall CD, follow the installation dialogue, and in twenty or thirty minutes you shall have a firewall/router configured for PPPoE. ... SmoothWall can act as a DHCP server for your local area network; or you may assign static IP addresses to the machines in your LAN. ...
      (Debian-User)