Linux

DHCPサーバー

Dynamic DNS の設定

  • sudo vi /etc/dhcp/dhcpd.conf
    ddns-updates on;
    ddns-update-style interim;
    ignore client-updates;
    not authoritative;
    
    log-facility local7;
    
    subnet 111.222.111.0 netmask 255.255.255.0 {
    
    # --- default gateway
            option routers                  111.222.111.000;
            option subnet-mask              255.255.255.0;
    
            #option nis-domain              "domain.org";
            option domain-name              "hogehoge.foofoo";
            option domain-name-servers      111.222.112.221,111.222.222.111,111.222.222.000;
    
    #       option time-offset              -18000; # Eastern Standard Time
            option ntp-servers              111.222.222.111;
    #       option netbios-name-servers     111.222.222.111;
    
    # --- Selects point-to-point node (default is hybrid). Don't change this unless
    # -- you understand Netbios very well
    #       option netbios-node-type 2;
    
           range dynamic-bootp 111.222.111.101 111.222.111.200;
           default-lease-time 6000;
           max-lease-time 72000;
    
           # we want the nameserver to appear at a fixed address
           #host ns {
           #       next-server marvin.redhat.com;
           #       hardware ethernet 12:34:56:78:AB:CD;
           #       fixed-address 207.175.42.254;
           #}
    }
    
    zone domain.com. {
        primary 123.123.123.123;
    }
    
    zone 1.123.123.in-addr.arpa. {
        primary 123.123.123.123;
    }

LogFile の場所,ログファイル,log

/var/lib/dhcpd/dhcpd.leases

Dynamic DNS, Unable to add forward map from 対応


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2025-02-08 (土) 15:44:32 (147d)