Results 1 to 5 of 5

Thread: Which DNS server am I using?

  1. #1
    Join Date
    Dec 2008
    Location
    USA
    Beans
    528
    Distro
    Ubuntu 18.10 Cosmic Cuttlefish

    Which DNS server am I using?

    I have dhcp and dhcp3 server installed. One of them is running, but the log doesn't seem to specify if its 3 or not.
    I tried service dhcp-server status and got nothing. I also tried a bunch of permutations.
    I did get a result from service isc-dhcp-server status. Now I'm more confused, is this a third server or one of the first 2?


    Ultimately, I just want to remove the unused one.
    Last edited by wlraider70; April 9th, 2013 at 05:28 PM.
    I don' really like coffee. I guess I'll give my Ubuntu beans to my wife.

    Luke

  2. #2
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Which DNS server am I using?

    Hi wlraider70.

    My first guess is that one is a meta package that install the latest package. So it is probably no problem, and you shouldn't uninstall it.

    For instance, in 12.04 the package dhcp3-server is a meta, or a virtual package. See it here. Which just install the latest proper server package: isc-dhcp-server.

    To see, what packages are installed on your system do this:
    Code:
    dpkg -l | grep dhcp
    Or to check specific version packages:
    Code:
    apt-cache policy dhcp3-server
    
    apt-cache policy isc-dhcp-server
    Hope it helps. Let us know how it goes.
    Regards.

  3. #3
    Join Date
    Dec 2008
    Location
    USA
    Beans
    528
    Distro
    Ubuntu 18.10 Cosmic Cuttlefish

    Re: Which DNS server am I using?

    Ok, I think I follow most of that

    Code:
    server@philo:/etc/dhcp$ dpkg -l | grep dhcp
    ii  dhcp3-server                       4.1.ESV-R4-0ubuntu5.6               ISC DHCP server (transitional package)
    ii  isc-dhcp-client                    4.1.ESV-R4-0ubuntu5.6               ISC DHCP client
    ii  isc-dhcp-common                    4.1.ESV-R4-0ubuntu5.6               common files used by all the isc-dhcp* packages
    ii  isc-dhcp-server                    4.1.ESV-R4-0ubuntu5.6               ISC DHCP server for automatic IP address assignment
    So then where do I do my configuration?
    I have a /etc/dhcp/dchpd.conf
    and /etc/dhcp3.dhcpd.conf

    They are different files.
    I don' really like coffee. I guess I'll give my Ubuntu beans to my wife.

    Luke

  4. #4
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Which DNS server am I using?

    This one should be the good one:
    Code:
    /etc/dhcp/dhcpd.conf
    Regards.

  5. #5
    Join Date
    Jan 2010
    Location
    Germany
    Beans
    165
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Which DNS server am I using?

    Hi if you are unsure why not take a look at my video here:

    http://www.youtube.com/watch?v=Cq_5ksf5iQY
    Try not to be a man of success but be a man of value
    USE FUL LINKS
    Ubuntu Server setup guide
    setting up a DNS Server on Ubuntu

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •