Changes

From SME Server
Jump to navigationJump to search
Line 321: Line 321:  
Check with
 
Check with
 
  cat /var/service/dnscache/root/servers/test.com
 
  cat /var/service/dnscache/root/servers/test.com
  −
====DNS Forwarding====
  −
  −
The dnscache service can be configured to forward all queries for a specific domain to an alternate server, or to block DNS for a domain by configuring forwarding to 'localhost', without affecting any other services or configuration files.
  −
  −
This is done using the "domain-remote" record type in the domains db:
  −
  −
To forward all DNS for <domainname> to the specified remote DNS server:
  −
db domains set <domainname> domain-remote 4.2.2.1
  −
  −
To block lookups for <domainname>:
  −
db domains set <domainname> domain-remote localhost
      
===Virus Scanning===
 
===Virus Scanning===

Navigation menu