Добрый день!
Не могу настроить Bind на локальной машине.
что есть:
named.conf.options: указаны корпоративные DNS
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
// forwarders {
// 0.0.0.0;
// };
forwarders {
192.168.32.10;
192.168.32.11;
};
//========================================================================
// If BIND logs error messages about the root key being expired,
// you will need to update your keys. See https://www.isc.org/bind-keys
//========================================================================
//dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
named.conf.local//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "example.local" {
type master;
file "/etc/bind/db.example.local";
};
db.example.local ;
; BIND data file for local loopback interface
;
$TTL 300
@ IN SOA example.local. root.example.local. (
2016042808 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
86400 ) ; Negative Cache TTL
@ IN NS ns
ns IN A 127.0.0.1
* IN A 192.168.34.98
* IN A 192.168.34.126
resolv.conf: генерируется автоматически NetworkManager'ом
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.32.10
nameserver 192.168.32.11
nameserver 127.0.0.1
NetworkManager.conf[main]
plugins=ifupdown,keyfile,ofono
#dns=dnsmasq
[ifupdown]
managed=false
host.conf# The "order" line is only used by old versions of the C library.
order bind,hosts
multi on
hosts127.0.0.1 localhost
127.0.1.1 ribez
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
nslookup *.example.localServer: 192.168.32.10
Address: 192.168.32.10#53
** server can't find *.example.local: NXDOMAIN
nslookup *.example.local 127.0.0.1Server: 127.0.0.1
Address: 127.0.0.1#53
Name: *.example.local
Address: 192.168.34.98
Name: *.example.local
Address: 192.168.34.126
Если в NetworkManager прописать вручную DNS 127.0.0.1, то *.example.local резолвится, но тогда пропадают адреса корпоративных DNS.
Благодарен за любую помощь!