Results 1 to 2 of 2

Thread: easy way of keeping dhcp server and nameserver in sync?

  1. #1
    Join Date
    Jul 2009
    Beans
    7

    easy way of keeping dhcp server and nameserver in sync?

    I have a small dhcp server running that takes care of giving fixed IP address to specific MAC addresses. Is there an easy way to use this config file in order to configure my nameserver? I don't want to type in all the information by hand

  2. #2
    Join Date
    Jan 2007
    Beans
    5,549

    Re: easy way of keeping dhcp server and nameserver in sync?

    here is my dhcpd.conf file

    default-lease-time 600;
    max-lease-time 7200;

    option subnet-mask 255.255.255.0;
    option broadcast-address 192.168.0.255;
    option routers 192.168.0.254;
    option domain-name-servers 208.67.222.222, 208.67.220.220;
    option domain-name “HOME”;

    subnet 192.168.0.0 netmask 255.255.255.0 {
    range 192.168.0.2 192.168.0.15;
    }


    this is the line you need to add

    option domain-name-servers 208.67.222.222, 208.67.220.220;

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
  •