Sambar Server Documentation
|
DNS Server/Proxy
Pro Server Only |
Functionality A DNS server holds authoritative information about host names and IP addresses from its local site (known as the zone of authority). The Sambar DNS Server uses a simple hosts file as its database. It acts as a stand-alone DNS server, unless configured to forward unknown requests to your ISPs DNS server (proxy mode). The DNS server simplifies the maintenance of IP addresses of your intranet by eliminating the task of copying hosts files between machines. As you add or remove machines from your network, you can modify the hosts entries via browser-based System Administrator forms. Many applications require DNS in order to work. Among them are Java applets, chat programs and the SOCKS4 protocol. The SOCKS protocol is becoming an increasingly popular choice among programmers when adding proxy support to applications. ICQ, Instant Messager and a number of other applications utilize the SOCKS protocol for proxy support. The Sambar DNS Server is a partial DNS implementation, the server does not respond to requests for NS-Records (used by other DNS servers) or CNAME-Records (aliases). The server is designed to service UDP requests for host addresses (A-Record requests) and mail servers (MX-Record requests). All other other requests are forwarded (along with unknown A-Record and MX-Record requests) to your ISPs DNS server (these must be configured in the config.ini as the DNS Primary and DNS Secondary). In a future release, the Sambar DNS server will provide caching of proxied A-Record and MX-Record requests to enhance DNS lookup performance.
Hosts File The format of the file is the same as the format of the UNIX /etc/hosts file; each line consists of an IP Address in dotted-octet notation (i.e. 209.157.142.114), followed by whitespace and the name(s) of the host (i.e. www.sambar.com www). Note: The canonical name of the host should appear first, followed by any aliases. Note! If DNS Wildcards is set to true in the config/config.ini file, basic wildcard pattern matching will be used when performing A record lookups against either the hosts or mxhosts files.
MXHosts File The format of the file consists of an mail server hostname (i.e. smtp.sambar.com) followed by whitespace and the name(s) of the mail domains:
DNS Overview
DNS databases are distributed in a hierarchical manner. The "root" DNS servers maintain the locations of other name servers with are authoritative for their domains. Each network must maintain a DNS server for the IP addresses that can be reached via that network; this task usually falls to your ISP. So a DNS search proceeds from the "root" name servers downward getting progressively closer to the name server that actually knows the name and IP address of the destination in question. When given www.sambar.com as a destination, your web browser requests the IP address from a Domain Name Server. The DNS daemon looks in its database for the name and returns the IP address, or forwards the request to the appropriate server. Your browser then sends its request to the resolved IP address. There are usually two name servers for a particular domain. The primary name server is consulted first by the resolver on a host machine in order to obtain DNS information. If the primary does not respond, the resolver will attempt to obtain the information from the secondary. If neither name server responds, you will typically see a The Server does not have a DNS entry error message in your application.
DNS Forwarding
To see if the DNS requests are reaching the Sambar Server, make sure
that
Internet DNS The Sambar DNS server is designed for intranet use (and internet-proxying) only. For all other DNS needs, you will likely need to run bind.
Configuring DNS Clients
To verify your Sambar DNS Server is properly configured, you can use the ping utility. Open an MS-DOS Command window and use ping with the name of a machine configured in the Sambar Server hosts file setup with the DNS Server. You should see the DNS request being made to the Sambar Server (via the GUI) and responded to.
DNS Primary/Secondary
These DNS servers belong to Earthlink and may or may not be appropriate for your site. It is highly recommended that these be changed to your local ISP for two important reasons:
|
© 1999 Sambar Technologies. All rights reserved. Terms of Use.