WINS - any way to force it to always reply via DNS
Nathan Neulinger
nneul at umr.edu
Fri Oct 31 15:22:12 GMT 1997
Two questions:
1) Is there any way to get nmbd to always reply and do it's lookup using a
DNS query?
2) Is it possible to turn OFF dns caching in NMBD?
Here is an example of two queries from the log:
Successful:
--------------------------------
10/31/97 09:12:34 received a packet of len 50 from (131.151.37.9) port 1444
nmb packet from 131.151.37.9(1444) header: id=24148 opcode=Query(0)
response=No
header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
question: q_name=INFINITY(0) q_type=32 q_class=1
Name query from 131.151.37.9 for name INFINITY<0x0>
find_name_on_subnet: on subnet 131.151.37.255 - found name INFINITY(00)
source=3
OK 131.151.37.9
replying netbios packet: nmb_query INFINITY(0) 131.151.37.9
nmb packet from 131.151.37.9(1444) header: id=24148 opcode=Query(0)
response=Yes
header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
answers: nmb_name=INFINITY(0) rr_type=32 rr_class=1 ttl=42723
answers 0 char D...%. hex 440083972509
nmb packet from 131.151.37.9(1444) header: id=24148 opcode=Query(0)
response=Yes
header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
answers: nmb_name=INFINITY(0) rr_type=32 rr_class=1 ttl=42723
answers 0 char D...%. hex 440083972509
10/31/97 09:12:34 sending a packet of len 62 to (131.151.37.9) on port 1444
----------------------------------
Unsuccessful:
----------------------------------
10/31/97 09:12:48 received a packet of len 50 from (131.151.37.9) port 1445
nmb packet from 131.151.37.9(1445) header: id=24163 opcode=Query(0)
response=No
header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
question: q_name=STOOGES.CC(0) q_type=32 q_class=1
Name query from 131.151.37.9 for name STOOGES.CC<0x0>
find_name_on_subnet: on subnet 131.151.37.255 - name STOOGES.CC(00) NOT FOUND
find_name_on_subnet: on subnet 255.255.255.255 - found name
STOOGES.CC(00) source=4
Found DNS cache entry STOOGES.CC(0)
----------------------------------
Stooges does not have a nmbd or smbd running on it, but I do want it to
resolve.
I have had odd behavior with this, where nmbd doesn't always seem to
work. In one case, when I brought up the nmbd on a ethernet segment, it
made all the PC's on that segment unable to browse the network at all.
Our setup:
Multiple subnets. All the subnets are forwarding broadcasts to one
specific host that is running an nmbd.
There are lots of machines on the network out of our control, so it is
likely that there will be other nmbds and NT stations, etc. I'd like to
be able to override all of them and force our central server to be the
master server.
Any ideas?
-- Nathan
------------------------------------------------------------
Nathan Neulinger Univ. of Missouri - Rolla
EMail: nneul at umr.edu Computer Center
WWW: http://www.umr.edu/~nneul SysAdmin: rollanet.org
More information about the samba
mailing list