Changes

From SME Server
Jump to navigationJump to search
Line 310: Line 310:     
Pour qu'un domaine soit effectif (pour les courriels ou le web), il a besoin d'être configuré en tant que SERVEURS DNS INTERNET (c'est la valeur par défaut). Puisque le domaine se résout via les SERVEURS DNS INTERNET, ni noms de domaines, ni adresses ne sont créés localement. Pour plus d'information, visiter, s.v.p., le Manuel d'Administration, section concernant les Domaines : [[http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13/fr#13.9._Domaines]]
 
Pour qu'un domaine soit effectif (pour les courriels ou le web), il a besoin d'être configuré en tant que SERVEURS DNS INTERNET (c'est la valeur par défaut). Puisque le domaine se résout via les SERVEURS DNS INTERNET, ni noms de domaines, ni adresses ne sont créés localement. Pour plus d'information, visiter, s.v.p., le Manuel d'Administration, section concernant les Domaines : [[http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13/fr#13.9._Domaines]]
 +
===Delegate DNS===
 +
 +
SME Allows for 3 Settings for DNS Resolution of a Domain
 +
# Resolve Locally
 +
# Internet DNS Servers
 +
# Corporate DNS servers
 +
 +
If this is not sufficient, you can extended these for individual domains on your SME server (forwarding all DNS Queries for the specified domain to another server) as follows:
 +
 +
First, create the necessary virtual domains using server-manager::Configuration::Domains::Add Domain.
 +
 +
Then, (assuming your domain is called test.com and the actual DNS server is at a.b.c.d issue the following commands:
 +
 +
db domains setprop test.com Nameservers a.b.c.d
 +
signal-event domain-modify
 +
 +
Check with
 +
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 using the "domain-remote" record type in the domains db. This could be used to direct DNS for a domain to an internal DNS server connected to your network using a VPN or a custom route, or to direct your local active directory DNS to your Active Directory server, etc.
 +
 +
To forward all DNS for <domainname> to a specified remote DNS server (4.2.2.1 in this example):
 +
db domains set <domainname> domain-remote Nameservers 4.2.2.1
 +
signal-event domain-modify
 +
 +
As a side-effect, you can block DNS for a domain by configuring DNS forwarding to 'localhost'.
 +
 +
This command tells your SME to do all DNS lookups on <domainname> locally, but doesn't configure any corresponding DNS entries.  Attempted lookups for the domain and all sub-domains will fail:
 +
db domains set <domainname> domain-remote Nameservers localhost
 +
signal-event domain-modify
 +
 +
* 'domain-remote' entries do not appear in server-manager; they can be managed only from the command line.
 +
* Nameservers can be a comma-delimited list of servernames or IP addresses
    
==Virus Scanning==
 
==Virus Scanning==
3,054

edits

Navigation menu