меняем на pups-corp.com, новое на него переходим
то и то должно работать,
- Код: Выделить всё
options {
directory "/etc/namedb";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
query-source address * port 53;
listen-on {
127.0.0.1;
192.168.1.1;
217.24.*.*;
};
forwarders {192.168.1.253;
};
};
logging {
channel default {
file "/var/log/named.log";
severity info;
print-time yes;
print-category yes;
};
channel database {
file "/var/log/database.log" ;
severity info;
print-time yes;
print-category yes;
};
channel security {
file "/var/log/security.log" ;
severity info;
print-time yes;
print-category yes;
};
channel resolver {
file "/var/log/resolver.log" ;
severity info;
print-time yes;
print-category yes;
};
channel xfer-in {
file "/var/log/xfer-in.log" ;
severity info;
print-time yes;
print-category yes;
};
channel xfer-out {
file "/var/log/xfer-out.log" ;
severity info;
print-time yes;
print-category yes;
};
channel notify {
file "/var/log/notify.log" ;
severity info;
print-time yes;
print-category yes;
};
channel client {
file "/var/log/client.log" ;
severity info;
print-time yes;
print-category yes;
};
channel update {
file "/var/log/update.log" ;
severity info;
print-time yes;
print-category yes;
};
channel queries {
file "/var/log/queries.log" ;
severity info;
print-time yes;
print-category yes;
};
channel dispatch {
file "/var/log/dispatch.log" ;
severity info;
print-time yes;
print-category yes;
};
channel dnssec {
file "/var/log/dnssec.log" ;
severity info;
print-time yes;
print-category yes;
};
channel lame-servers {
file "/var/log/lame-servers.log" ;
severity info;
print-time yes;
print-category yes;
};
category default { default; };
category general { default; };
category unmatched { default; };
category network { default; };
category config { default; };
category database { database; };
category security { security; };
category resolver { resolver; };
category xfer-in { xfer-in; };
category xfer-out { xfer-out; };
category notify { notify; };
category client { client; };
category update { update; };
category queries { queries; };
category dispatch { dispatch; };
category dnssec { dnssec; };
category lame-servers { lame-servers; };
};
acl corp_networks {
192.168.1.0/24;
192.168.3.0/24;
192.168.5.0/24;
192.168.7.0/24;
192.168.9.0/24;
192.168.11.0/24;
192.168.15.0/24;
192.168.17.0/24;
192.168.23.0/24;
};
view corp_net {
match-clients {
corp_networks;
127.0.0.1;
};
zone "." {
type hint;
file "named.root";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "master/localhost.rev";
};
zone "kuks.com" {
type master;
file "master/corp_view/kuks.com";
allow-transfer {
192.168.1.253;
192.168.3.1;
192.168.11.1;
192.168.15.1;
192.168.17.1;
192.168.23.1;
};
};
zone "local.net" {
type slave;
file "slave/local.net";
masters {
192.168.1.3;
};
};
zone "kdp.net" {
type slave;
file "slave/kdp.net";
masters {
192.168.5.2;
};
};
zone "lviv.kuks.com" {
type forward;
forwarders {
192.168.11.1;
};
};
zone "kharkiv.kuks.com" {
type forward;
forwarders {
192.168.15.1;
};
};
zone "kiev.kuks.com" {
type forward;
forwarders {
192.168.3.1;
};
};
zone "lit.kuks.com" {
type forward;
forwarders {
192.168.17.1;
};
};
zone "msk.kuks.com" {
tape forward;
forwarders {
192.168.23.1;
};
};
zone "1.168.192.in-addr.arpa" {
type slave;
file "slave/1.168.192.in-addr.arpa";
masters {
192.168.1.3;
};
};
zone "17.168.192.in-addr.arpa" {
type slave;
file "slave/17.168.192.in-addr.arpa";
masters {
192.168.17.2;
};
};
zone "15.168.192.in-addr.arpa" {
type slave;
file "slave/15.168.192.in-addr.arpa";
masters {
192.168.15.2;
};
};
zone "5.168.192.in-addr.arpa" {
type slave;
file "slave/5.168.192.in-addr.arpa";
masters {
192.168.5.2;
};
};
zone "3.168.192.in-addr.arpa" {
type slave;
file "slave/3.168.192.in-addr.arpa";
masters {
192.168.3.54;
};
};
zone "23.168.192.in-addr.arpa" {
type slave;
file "slave/23.168.192.192.in.addr.arpa" {
masters {
192.168.23.2;
};
};
};
view external {
match-clients {
0.0.0.0/0;
};
zone "kuks.com" {
type master;
file "master/kuks.com";
allow-transfer {
195.95.*.*;
62.*.*.*;
82.207.*.*;
82.207.*.*;
83.220.*.*;
};
};
zone "kharkiv.kuks.com" {
type slave;
file "slave/kharkiv.kuks.com";
masters {
82.207.*.*;
};
};
zone "kiev.kuks.com" {
type slave;
file "slave/kiev.kuks.com";
masters {
195.95.*.*;
};
};
zone "lviv.kuks.com" {
type slave;
file "slave/lviv.kuks.com";
masters {
62.221.*.*;
};
};
zone "lit.kuks.com" {
type slave;
file "slave/lit.kuks.com";
masters {
82.207.*.*;
};
};
zone "msk.kuks.com" {
type slave;
file "slave/msk.kuks.com";
masters {
83.200.*.*;
};
};
};
и как и что добавить pups-corp.com