Hi Jim,
Thanks for the response. I agree I don't know if the problem is WINS or DNS but I think that the name 'mailserv' or 'mailserv.iii.net.au' is only registered with our DNS server. I also know that I have another CNAME record which people use in the office regularly which fails DNS resolution, this is 'www.iii.net.au' which is our external website so internally I map that name to the correct internal ip address (see the zones below).
I'll digress to explain my situation as much as possible.
We run two linux servers on fedora core 5 respectively named fileserv and mailserv.
Fileserv runs samba (3.0.23) as a primary domain controller for the domain 'IIIUNANDERRA'. We use an LDAP backend with openldap to store the login configuration and our file sharing services are all on this machine. Mailserv runs our mail software which is a combination of sendmail, mailscanner, spamassassin + plugins and scalix. This mailserv machine is also our webserver (apache) and dns server.
I've found it a little confusing as to whether I actually can disable WINS when running samba as a PDC as DNS does not provide all of the necessary name resolution for a domain. Here is an old post but I think it explains a fair bit about the subject, alas samba cannot yet replace a full active directory domain so WINS is still required;
http://lists.samba.org/archive/samba...er/112954.html
So at the moment I am running both services and my DNS server config includes these two zones;
Forward lookup zone called 'iii.net.au'
[root@mailserv named]# cat iii.net.au.zone
$TTL 3M
iii.net.au. IN SOA mailserv.iii.net.au bcarruthers.iii.net.au. (
2007032002 ; serial
2H ; refresh slaves
5M ; retry
1W ; expire
1M ; Negative TTL
)
@ IN NS 192.168.0.9
mailserv.iii.net.au. IN A 192.168.0.9 ; Mail/DNS/Web server
fileserv.iii.net.au. IN A 192.168.0.8 ; Samba/LDAP file server
firewall.iii.net.au. IN A 192.168.0.1 ; Cisco PIX firewall
wireless1.iii.net.au. IN A 192.168.0.4 ; Upstairs wireless
optserv.iii.net.au IN A 192.168.0.151 ; Optrix server
www IN CNAME mailserv ; Internal mapping for webserver
#mailserv IN CNAME mailserv.iii.net.au. ; Alias for mailserv
#webserv IN CNAME webserv.iii.net.au. ; Alias for webserv
@ IN MX 10 mailserv.iii.net.au.
Reverse zone 192.168.0.zone
[root@mailserv named]# cat 192.168.0.zone
$TTL 3M
@ IN SOA mailserv.iii.net.au bcarruthers. (
2007032002 ; serial
2H ; refresh slaves
5M ; retry
1W ; expire
1M ; Negative TTL
)
IN NS mailserv.iii.net.au.
1 IN PTR firewall.iii.net.au.
4 IN PTR wireless1.iii.net.au.
8 IN PTR fileserv.iii.net.au.
9 IN PTR mailserv.iii.net.au.
#9 IN PTR
www.iii.net.au.
11 IN PTR webserv.iii.net.au.
151 IN PTR optserv.iii.net.au.
The conditions when I say resolution is not working refers to the following conditions;
When I try to ping mailserv i timeout
When I try to nslookup mailserv it works
Would this mean its the wins resolution serving the ping command? I'm sure nslookup is DNS. Is there a way to change the name resolution order on the clients to use DNS and then WINS?
I hope I've given you more information and sorry if I am confusing in any way.
Many thanks,
Brett