Re: Combining forward with master zone.

2019-02-22 Thread King, Harold Clyde (Hal)
Thank you all for your help with this. -- Hal On 2/21/19, 4:04 AM, "bind-users on behalf of Matus UHLAR - fantomas" wrote: >On Wed, Feb 20, 2019 at 3:40 PM King, Harold Clyde (Hal) >wrote: >> Could I just define needs.example.com as a zone in a separate file so: >> >> z

Re: Combining forward with master zone.

2019-02-21 Thread Matus UHLAR - fantomas
On Wed, Feb 20, 2019 at 3:40 PM King, Harold Clyde (Hal) wrote: Could I just define needs.example.com as a zone in a separate file so: zone "example.com" { type master; notify no; file "static/antiphish.db"; }; zone "needs.example.com" { type forward; forwards{8.8.8.8;}; On 20.02.19 16:08, K

Re: Combining forward with master zone.

2019-02-20 Thread Grant Taylor via bind-users
On 02/20/2019 01:19 PM, King, Harold Clyde (Hal) wrote: Can I create a root zone to define a wildcard pointing to our warning page with one hostname defined going to a forward’ed DNS source? I could just give it an IP, but can I forward that one domain to outside DNS (Google or their NS reposit

Re: Combining forward with master zone.

2019-02-20 Thread Kevin Darcy
Delegate needs.example.com from example.com and you should be set. - Kevin On Wed, Feb 20, 2019 at 3:40 PM King, Harold Clyde (Hal) wrote: > Could I just define needs.example.com as a zone in a separate file so: > > > > zone "example.com" { type master; notify no; file "static/antip

Re: Combining forward with master zone.

2019-02-20 Thread King, Harold Clyde (Hal)
Could I just define needs.example.com as a zone in a separate file so: zone "example.com" { type master; notify no; file "static/antiphish.db"; }; zone "needs.example.com" { type forward; forwards{8.8.8.8;}; -- Hal ---

Re: Combining forward with master zone.

2019-02-20 Thread Kevin Darcy
As discussed in another thread, delegate the zone you want to forward, in addition to defining the zone as "type forward". If you already tried a "type forward" and it didn't work, it was probably because the delegation was missing. It's a non-obvious requirement, but named needs to see the zone cu

Combining forward with master zone.

2019-02-20 Thread King, Harold Clyde (Hal)
We have a URL phishing setup that causes URLs we detect to redirect to a warning page. We have run into a problem. One of our clients has scripts that he calls from a host in that domain. Needs.example.com when we block example.com. Can I create a root zone to define a wildcard pointing to our wa