DNS

From reSIProcate
Revision as of 06:59, 17 May 2006 by Sgodin (talk | contribs) (added windows specific info)
Jump to navigation Jump to search

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.