SeijiSensei:
The machine can exchange traffic. If I follow your suggestions I have this file:
My named.conf.options in 10.10.10.11 and 10.10.10.12 is:
Code:
options {
directory "/var/cache/bind";
recursion yes;
dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
The named.conf.local in 10.10.10.11 is:
Code:
zone "ons.com" {
type master;
file "/etc/bind/db.ons.com";
};
zone "123.ons.com" {
type forward;
forward only;
forwarders { 10.10.10.12;};
};
In 10.10.10.12:
Code:
zone "123.ons.com" {
type master;
file "/etc/bind/db.123.ons.com";
};
In 10.10.10.12 the db.123.ons.com is:
Code:
;
; BIND data file for local loopback interface
;
$TTL 86400
$ORIGIN .
123.ons.com IN SOA 123.ons.com. 123.ons.com. (
2013102900 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
86400 ) ; Negative Cache TTL
;
$TTL 259200 ;3 days
$ORIGIN 123.ons.com.
IN NS ns
ns IN A 10.10.10.12
789 IN A 10.10.10.13
With this config I receive the correct answer only with "dig @10.10.10.12 789.123.ons.com".
hawkmage:
Instead, if I follow your config I have the file like you suggest but in 10.10.10.12 db.123.ons.com file I add the last row that you can see with "789 IN A 10.10.10.13". Also in this case I receive the correct answer olny when I put @address.
Thanks.
Bookmarks