hello!
I have a small network. i have a real dns internet for my domain.
patrikx3.tk via freedns.afraid.org. works.
i setup a small local domain so i am not using the internet ip but the
bind server. i need the local ips.
it works via bind all my clients.
the problem only on my server itself when i use:
ping patrikx3.tk
it should return 192.168.78.20
but instead it is using the open internet ip address.
how can i force that my ns server localhost on the server itself it use
the local network instead internet ip addresses?
*setup latest bind9.10 i think, all **default, i just added these:
**named.conf.options:
*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 {
// 8.8.8.8;
// 8.8.4.4;
// };
//========================================================================
// 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; };
};
*
**name.conf.local:*
zone "patrikx3.tk" {
type master;
file "/etc/bind/zones/db.patrikx3.tk";
};
*zones/**db.patrikx3.tk:*
TTL 604800
@ IN SOA ns1.patrikx3.tk. . (
5 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
; Name servers
patrikx3.tk. IN NS ns1.patrikx3.tk.
; A records for name servers
ns1 IN A 192.168.78.20
; Other A records
@ IN A 192.168.78.20
www IN A 192.168.78.20
mail IN A 192.168.78.20
router IN A 192.168.78.20
server IN A 192.168.78.20
address-book IN A 192.168.78.20
fortune-cookie IN A 192.168.78.20
torrent IN A 192.168.78.20
test IN A 192.168.78.20
mysql IN A 192.168.78.20
laptop IN A 192.168.78.4
resume.laptop IN A 192.168.78.4
workstation IN A 192.168.78.2
resume.workstation IN A 192.168.78.2
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
from this list
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users