Reply To: Restrict DNS forwarding for local addresses

Home Page Forums Network Management Linux and Networking Restrict DNS forwarding for local addresses Reply To: Restrict DNS forwarding for local addresses

#49134

ppalias
Member

What you ask is working in my setup.
karavida is not a valid name, however rofos is.

> karavida.trendy.awmn
Server: [10.14.149.1]
Address: 10.14.149.1

*** [10.14.149.1] can't find karavida.trendy.awmn: Non-existent domain
> rofos.trendy.awmn
Server: [10.14.149.1]
Address: 10.14.149.1

Name: rofos.trendy.awmn
Address: 10.14.149.1

Zone trendy.awmn as well as its reverse are master in my ZS and for ANY other I forward to the DNS servers of my provider.
My DNS options are

recursion yes;
allow-query {10.0.0.0/8;127.0.0.0/8;};

Hope this helps.