how to set up a DNS server on solaris 10?
Hi!
I'm running solaris 10 and the server is supposed to solve names for a 2 domains. I'm not very familiar with this dns server topic though. The solaris server hosts also an apache server where 2 websites are hosted. The name for the 2 websites should be resolved from this solaris server itself, is it understandable? So I have 1 IP for 2 websites. The apache is well configured for the virtual hosts. I'm only missing the DNS server. Do I just need to fill /etc/hosts and /etc/resolv.conf or is it a bit more complicated than this? Is ther a daemon for this? Thanks for any help. |
I've imported the named.conf and all the files in namedb from the previous solaris server, which was replaced by the solaris that I'm using now (that means, that it has inherited the IP from the previous server). /etc/hosts and /etc/resolv.conf
Then I did: svcadm -v enable /network/dns/server And got Quote:
In the log files is nothing wrong. As I've mentioned before: the configurations (named.conf and all the files in namedb) comes from a previous solaris server (solaris 8) where it worked fine. This new server has replaces the old one (same IP, same domain...). What did I forget? |
What do you mean by "the domains are still unreachable though" ?
|
Quote:
|
From where are you trying to connect to the web sites, a different machine than the server or the same one ?
In any case, what are the DNS client settings on that machine ? |
Quote:
the settings are: Quote:
Quote:
Quote:
Here are the added lines: Quote:
In the old web-sites (solaris 8) from the html-files come, apache was called http. In the new server (solaris 10), it is called webservd. html-files'ownerships are ether with users'names or still with http. I added http in passwd and in group like this: Quote:
Quote:
thanks. |
All times are GMT -5. The time now is 11:36 PM. |