Results 1 to 3 of 3

Thread: DHCP server - Is a domain name required?

  1. #1
    Join Date
    Sep 2006

    Question DHCP server - Is a domain name required?

    Hello, as the title says, when setting up a DHCP server is it required to specify a domain name?

    I'm planning to setup a DHCP server for a home network (for funsies), and I don't really have a domain name; although if I have to I could use home.local or something.
    Never let a computer know you’re in a hurry.

  2. #2
    Join Date
    Oct 2009
    Ubuntu 12.04 Precise Pangolin

    Re: DHCP server - Is a domain name required?

    I have always used .local for any local machines at home.

    While it isn't really required, it is a good thing to have if you set up a local DNS server.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #3
    Join Date
    Nov 2008
    Metro Boston
    Kubuntu 14.04 Trusty Tahr

    Re: DHCP server - Is a domain name required?

    I agree that having a domain is helpful, but the answer to your original question is no. DHCP listens on the broadcast address for any packets that come by requesting an IP. You can distribute various DNS parameters in the reply, like the IP addresses for DNS servers, or the search domain list, but these are all optional. Here's my dhcpd.conf file:

    ddns-update-style interim;
    ignore client-updates;
    subnet netmask {
            option routers    ;
            option subnet-mask;
            option domain-name             "";
            option domain-name-servers,,;
            option time-offset              -18000; # Eastern Standard Time
            option ntp-servers    ;
            option netbios-name-servers;
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Tags for this Thread


Posting Permissions

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