[Samba] Trouble pinging servers DNS name.
Kenneth Illingsworth
illingsk at cityofrochester.gov
Tue Dec 31 15:24:00 GMT 2002
I can ping the virtual Linux servers NetBIOS name and access a share. Perhaps someone can examine the attached named.conf file for errors and/or omissions.
My virtual Linux server (172.17.60.6) has been configured as a WINS server, and a PDC. I am not, however, certain how to configure it as a DNS server beyond what is in the attached named.conf file.
Here are the results of pinging the virtual Linux servers NetBIOS name followed by the results of pinging the DNS name:
C:\>ping cofr3
Pinging cofr3 [172.17.60.6] with 32 bytes of data:
Reply from 172.17.60.6: bytes=32 time=10ms TTL=254
Reply from 172.17.60.6: bytes=32 time<10ms TTL=254
Reply from 172.17.60.6: bytes=32 time<10ms TTL=254
Reply from 172.17.60.6: bytes=32 time<10ms TTL=254
Ping statistics for 172.17.60.6:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 10ms, Average = 2ms
C:\>ping cofr3.cofrny.gov
Unknown host cofr3.cofrny.gov.
---------------------------------------------------------------------------------------------------------
Here is the workstation IP configuration:
C:\>ipconfig /all
Windows 2000 IP Configuration
Host Name . . . . . . . . . . . . : city-f5pfa29xta
Primary DNS Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : cofrny.gov
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : cityofrochester.gov
Description . . . . . . . . . . . : 3Com 3C920 Integrated Fast Ethernet
Controller (3C905C-TX Compatible)
Physical Address. . . . . . . . . : 00-06-5B-4A-26-C6
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 172.16.4.251
Subnet Mask . . . . . . . . . . . : 255.255.248.0
Default Gateway . . . . . . . . . : 172.16.0.50
DHCP Server . . . . . . . . . . . : 172.16.0.121
DNS Servers . . . . . . . . . . . : 172.17.60.6
10.100.224.51
10.100.224.52
Primary WINS Server . . . . . . . : 172.17.60.6
Lease Obtained. . . . . . . . . . : Sunday, December 29, 2002 1:25:15 AM
Lease Expires . . . . . . . . . . : Wednesday, January 01, 2003 1:25:15
---------------------------------------------------------------------------------------------------------
Clearly the workstation is on the 172.16.0 subnet while the server ison the 172.17.60 subnet. I was hoping that this would be addressed by specifying remote announce in the smb.conf file for the workstations subnet. Apparently I am still missing something.
Any assistance would be greatly appreciated.
-------------- next part --------------
// generated by named-bootconf.pl
options {
directory "/var/named";
forward only;
allow-update { none; };
allow-transfer { none; };
allow-query { 172.17.60.6/255.255.255.0; };
allow-recursion { none; };
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
query-source address * port 53;
};
//
// an authoritative-only nameserver config
// usr share doc bind-9.1.3 arm Bv9ARM.ch03.html
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "cofrny.gov" IN {
type master;
forwarders { };
file "cofrny.gov.db";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
};
include "/etc/rndc.key";
server 10.100.224.51 {
transfers 50;
};
server 10.100.224.52 {
transfers 50;
};
More information about the samba
mailing list