Hi
hm please bear with me. I understood splitbrain DNS as a config for internal and external view of the same domain/fqdn/dns-record.
In my bind setup:
bind-config
# dns proxy in DMZ for Detection of DNS traffic from internet
acl internet {
10.250.250.10/32;
};
# internal networks
acl intern {
192.168.42.0/27;
10.253.42.1/32;
10.10.10.0/24;
10.0.0.0/16;
127.0.0.0/24;
10.253.66.0/24;
10.253.69.0/24;
};
# view-filter to detect dns requests from internet and use the external dns database
view "frominternet" {
match-clients { internet; };
zone "example.com" IN {
type master;
file "/etc/bind/dbs-extern/example.com.db";
};
};
view "internal" {
match-clients { intern; };
zone "example.com" IN {
type master;
file "/etc/bind/dbs-intern/example.com.db";
};
};
/etc/bind/dbs-extern/example.com.db
$ORIGIN example.com.
$TTL 6000 ; 1 minute
@ IN SOA ns1.example.com. hostmaster.example.com. (
2024052501 ; serial - YYYYMMDD##
1200 ; refresh
600 ; retry (10 minutes)
1209600 ; expire
600 ; minimum
)
;
@ NS ns1.example.com.
ns1 A 123.123.123.123
sso A 123.123.123.124
/etc/bind/dbs-intern/example.com.db
$ORIGIN example.com.
$TTL 6000 ; 1 minute
@ IN SOA ns1.example.com. hostmaster.example.com. (
2024052501 ; serial - YYYYMMDD##
1200 ; refresh
600 ; retry (10 minutes)
1209600 ; expire
600 ; minimum
)
;
@ NS ns1.example.com.
ns1 A 10.1.2.3
sso A 10.1.2.3
I also need to specify when the internal record and the external record for the example should be used. This is specified in
So what I’m missing in this KB:
- internal IP of record
- external IP of the same record
- filter for when to use internal vs external record.
Could you point me in the direction which parts in this KB relate to the general example from me?
Thanks in advance