Firstly forgive me for my lameness but I’ve been using Linux for about 3 days now and my knowledge is very, very limited
My boss would like me to give an in-house demo of a program that he found on the Internet. OpenIMS runs only on linux so I :
- Downloaded a distro (the latest Mandriva, a random choice)
- Downloaded and installed all the RPM packages that OpenIMS needs
- Downloaded and compiled the OpenIMS package (SVN package)
- Installed my DNS server (bind)
Unfortunatly when I followed the instructions to add a host (open-ims.test) to point to 127.0.0.1 it just doesn’t seem to work and I don’t know enough about the OS to now how to troubleshoot.
This webpage explains the entire install process :
http://www.openimscore.org/installation_guide
and here is the DNS bit (at the end of that link)
Install bind
Locate and modify named.conf to include :
zone "open-ims.test" IN {
type master;
file "pri/open-ims.dnszone";
notify no;
Copy open-ims.dnszone to the correct location (pri)
Restart DNS server
Dig command to test that it works
Modif the rersolv.conf file to use the “open-ims.test” URL
No matter what I try the dig command doesn’t work
[root@localhost resolvconf]# dig pcscf.open-ims.test
; <<>> DiG 9.4.1-P1 <<>> pcscf.open-ims.test
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 9988
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;pcscf.open-ims.test. IN A
;; AUTHORITY SECTION:
. 6787 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2007110801 1800 900 604800 86400
;; Query time: 2 msec
;; SERVER: 192.168.162.6#53(192.168.162.6)
;; WHEN: Fri Nov 9 16:52:26 2007
;; MSG SIZE rcvd: 112
and my nslookup gives me
Server: 192.168.162.6
Address: 192.168.162.6#53
** server can't find open-ims.test.open-ims.test: NXDOMAIN
So I presume that when I try a “ping open-ims.test” that the machine tests the hosts file first and if it doesn’t find any info it looks in the named.conf where it finds a reference to a file which is loads to get the IP address associated with open-ims.test
Is this right ?