subdomain/zone with DHCPD
lejeczek
peljasz at yahoo.co.uk
Fri Oct 16 08:38:15 UTC 2015
On 15/10/15 16:01, Niall O'Reilly wrote:
>
> On 15 October 2015 15:56:42 BST, lejeczek <peljasz at yahoo.co.uk> wrote:
>> hi everybody
>>
>> I'm trying a bind setup which could be talked to by dhcpd.
>> I've bind setup with virtual zones and now trying to set up
>> dhcpd so it would be updating DNS, but... but.
>>
>> In dhcpd.conf I'm trying:
> and what's in your named.conf?
it's:
zone "domain.my" IN {
key-directory "domain.my";
auto-dnssec maintain;
allow-update { key dhcpd; key nsupdate_key; };
allow-transfer { localbox; 172.25.12.203; };
type master;
file "domain.my/domain.my.db.signed";
};
and now! I made one change:
subnet 192.168.4.64 netmask 255.255.255.224 {
ddns-domainname "host.domain.my";
ddns-rev-domainname "in-addr.arpa";
option domain-name-servers 192.168.4.65;
option domain-name "host.domain.my";
option host-name = config-option server.ddns-hostname;
option broadcast-address 192.168.4.95;
option routers 192.168.4.65;
one-lease-per-client on;
zone domain.my. { <= Here!, was - host.domain.my
primary 127.0.0.1;
key dhcpd;
}
pool {
range dynamic-bootp 192.168.4.66 192.168.4.93;
allow unknown-clients;
default-lease-time 86400;
#default-lease-time 3600;
max-lease-time 10000;
}
}
now, I get DNS (it all works locally on same one box, it's
not a problem of policy, access, etc..) updated, good! :)
But that virtual guest still gets (or at least reports) -
domain.my - as its FQDN ??? puzzled
More information about the bind-users
mailing list