Re: Geo DNS for 1 domain in view impossible?

2024-12-03 Thread Mark Andrews
Use the zone option 'in-view "viewname”;' view "all-zones" { match-clients { none; }; zone "example.com" { type master; file "/etc/bind/db/example.com.db”; }; zone "example2.com” { type master; file "/etc/bind/db/example2.com.db”; }; }; acl "DE" {geoip country DE;}; view “DE” { match-cl

Re: Zones list mask or wildcard

2024-12-03 Thread Grant Taylor via bind-users
On 11/27/24 05:09, Dimitry Bansikov wrote: I need to simplify adding and removing a domain so that it is enough to just add the zone file itself whitout editing the big list. Is this possible? Can you programmatically edit the file? You might be able to re-structure the list of zone statement

Re: Geo DNS for 1 domain in view impossible?

2024-12-03 Thread Grant Taylor via bind-users
On 12/1/24 11:30, Greg Choules via bind-users wrote: However, in the "DE" view you could configure global forwarding/forward only to the "default" view. Would it be better to do this -- what I call loopback / trombone -- forwarding -or- leverage something like loading all zones in all views?

Re: How to print details of dns_name_t* when hitting a gdb breakpoint in dns_name_equal

2024-12-03 Thread Petr Špaček
On 03. 12. 24 11:36, Kees Bakker via bind-users wrote: I have a CentOS FreeIPA setup with with multiple named (bind9 9.16.23) servers. On two of my five servers, when I start named it fails a REQUIRE in dns_name_equal     /* * Either name1 is absolute and name2 is absolute, or neither i

Re: How to print details of dns_name_t* when hitting a gdb breakpoint in dns_name_equal

2024-12-03 Thread Greg Choules
Hi Kees. I would upgrade to 9.18 and not spend time trying to diagnose 9.16, which is not supported anymore. If the same problem occurs on 9.18 (latest), please let us know. I hope that helps. Greg > On 3 Dec 2024, at 10:36, Kees Bakker via bind-users > wrote: > > Hi, > > Background > I hav

How to print details of dns_name_t* when hitting a gdb breakpoint in dns_name_equal

2024-12-03 Thread Kees Bakker via bind-users
Hi, Background I have a CentOS FreeIPA setup with with multiple named (bind9 9.16.23) servers. On two of my five servers, when I start named it fails a REQUIRE in dns_name_equal     /* * Either name1 is absolute and name2 is absolute, or neither is. */     REQUIRE((name1->attributes