Difference between revisions of "DNS"

From reSIProcate
Jump to navigation Jump to search
(added windows specific info)
Line 1: Line 1:
ares will to look in /etc/hosts if it fails to find the entry via a DNS lookup
+
ares will to look in the following locations for the hosts file if it fails to find the entry via a DNS lookup
 
+
* On *nix systems - /etc/hosts
It will look in /etc/inet/hosts if you have ETC_INET defined.
+
* On *nix systems when ETC_INET is defined - /etc/inet/hosts
 +
* On Win32 systems - location of hosts file is retrieved from registry - typically:  c:\Windows\System32\drivers\etc\hosts
  
 
If you put the following line into /etc/resolv.conf:
 
If you put the following line into /etc/resolv.conf:
 
   lookup f b
 
   lookup f b
you are telling ares to look in host (f)ile before DNS(b) servers.
+
you are telling ares to look in the host (f)ile before DNS(b) servers.
 +
 
 +
For windows environments the resolv.conf file will be retrieved from the drive of the working directory of the resip executable: ie. d:\etc\resolv.conf
  
 
= ENUM Support =
 
= ENUM Support =
 
The rutil library appears to have some level of support for ENUM queries, as do the DNS related classes under resip/stack. This space is reserved for an explanation of the current state of affairs with regards to resiprocate's ENUM support.
 
The rutil library appears to have some level of support for ENUM queries, as do the DNS related classes under resip/stack. This space is reserved for an explanation of the current state of affairs with regards to resiprocate's ENUM support.

Revision as of 06:59, 17 May 2006

ares will to look in the following locations for the hosts file if it fails to find the entry via a DNS lookup

  • On *nix systems - /etc/hosts
  • On *nix systems when ETC_INET is defined - /etc/inet/hosts
  • On Win32 systems - location of hosts file is retrieved from registry - typically: c:\Windows\System32\drivers\etc\hosts

If you put the following line into /etc/resolv.conf:

  lookup f b

you are telling ares to look in the host (f)ile before DNS(b) servers.

For windows environments the resolv.conf file will be retrieved from the drive of the working directory of the resip executable: ie. d:\etc\resolv.conf

ENUM Support

The rutil library appears to have some level of support for ENUM queries, as do the DNS related classes under resip/stack. This space is reserved for an explanation of the current state of affairs with regards to resiprocate's ENUM support.