bind9+dhcpd3,ptr记录更新不成功的问题

由 th0ri4 在 09-25-2004 20:19 发表:

bind9+dhcpd3,ptr记录更新不成功的问题

A记录更新成功,PTR记录怎么也更新不了?

不知道dhclient.conf或者if脚本里什么参数没有加?

cheers


What makes lift dreary is the want of motive.


由 th0ri4 在 09-25-2004 20:25 发表:


dhcpd.conf

configuration file for ISC dhcpd

server-identifier andreas.isc.org;

authoritative;

specifies the method to use to connect to the DNS server and update it.

ddns-update-style interim;

this has to be the same key as is used in named.conf

key andrw {

algorithm hmac-md5;

secret "uPDIdHRleY5/X1p+odGhOg==";

};

this section describes what key to use in what zone

zone isc.org. {

primary 10.16.13.1;

key andrw;

}

zone 13.16.10.in-addr.arpa. {

primary 10.16.13.1;

key andrw;

}

and this section holds all the options for the subnet listed,

include the range of addresses to lease out , gateways etc.

subnet 10.16.13.0 netmask 255.255.255.0 {

use these addresses:

range 10.16.13.2 10.16.13.254;

option subnet-mask 255.255.255.0;

option broadcast-address 10.16.13.255;

option domain-name "isc.org";

one-lease-per-client on;

default-lease-time 14400;

max-lease-time 14410;

option ip-forwarding off;

option time-offset -18000;

set a few handy default options

option routers 10.16.13.1;

option domain-name-servers 10.16.13.1;

}


What makes lift dreary is the want of motive.


由 th0ri4 在 09-25-2004 20:26 发表:


// /etc/bind/named.conf

key andrw {

algorithm hmac-md5;

secret "uPDIdHRleY5/X1p+odGhOg==";

};

acl "home" {10.16.13.0/24;127.0.0.1;};

options {

directory "/etc/bind";

pid-file "/var/run/named.pid";

allow-query {"home";};

forwarders {202.96.64.68;202.96.75.68;};

};

controls {

inet 127.0.0.1 port 953

allow {127.0.0.1;10.16.13.1;} keys {"andrw";};

};

zone "." {

type hint;

file "/etc/bind/db.root";

};

// be authoritative for the localhost forward and reverse zones, and for

// broadcast zones as per RFC 1912

zone "localhost" {

type master;

file "/etc/bind/db.local";

};

zone "127.in-addr.arpa" {

type master;

file "/etc/bind/db.127";

};

zone "0.in-addr.arpa" {

type master;

file "/etc/bind/db.0";

};

zone "255.in-addr.arpa" {

type master;

file "/etc/bind/db.255";<

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus