*BSD News Article 68802


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!solace!nntp.uio.no!news.cais.net!bofh.dot!news.mathworks.com!newsfeed.internetmci.com!newsserver.jvnc.net!newsreader.jvnc.net!lazlo
From: jlucas@uvi.edu (John Lucas)
Subject: Re: FreeBSD nameserver / Samba
Message-ID: <DrKDF6.KxF@tigger.jvnc.net>
Sender: news@tigger.jvnc.net (Zee News Genie)
Organization: University of the Virgin Islands
X-Newsreader: News Xpress 2.0 Beta #0
References: <318A1155.52FE@mainelink.net> <4n9jtc$9h@anorak.coverform.lan>
Date: Fri, 17 May 1996 19:11:27 GMT
Lines: 108

The original poster (Gary Chrysler?) doesn't appear to have DNS set up 
properly. You must have your inverse address records in a different zone from 
your regular domain data. The inverse addresses are in the domain in-addr.arpa 
and should be decalared as such in named.boot:

;
; in.named boot file
;
directory       /usr/lib/DNS
cache           .                       named.ca
primary         uvi.edu                 uvi.zone
primary         226.146.in-addr.arpa    uvi-inverse.zone
primary         localhost.              localhost.zone

If you are isolated from the Internet, you will have to be the primary DNS for 
the root hierarchy too (a "false root").

I would say that you're DNS is not working properly, not even close.


In article <4n9jtc$9h@anorak.coverform.lan>, brian@awfulhak.demon.co.uk (Brian 
Somers) wrote:
>Gary Chrysler (tcg@mainelink.net) wrote:
>: FreeBSD 2.0-RELEASE
>: Samba 1.9
>: WFW 3.11
>
>: hostnames:            os:
>:       bsdhost         FreeBSD
>:       wfwhost         WFW 3.11
>
>: Installed Samba.. Worked great using /etc/hosts on all systems..
>
>: Then I setup and enabled name_server on bsdhost!  
>:   Now Samba on bsdhost fails..
>:       example:
>:               smbclient -L bsdhost -U%
>:       Reports: Your server is being unfriendly
>:       Samba help states that this is an error with loading
>:       smbd! But it works if name_server is disabled and 
>:         /etc/hosts is enabled..
>
>:   Although 'smbclient -L wfwhost -U%' works.
>
>:   I can connect to 'wfwhost' from 'bsdhost'
>:   but not from     'wfwhost' to   'bsdhost'
>
>: I can disable name_server, Setup the hosts files on all systems
>: and it will then again work!
>
>: I have also noticed that it takes forever to get a prompt in either
>: telnet or ftp.. It say's 'Connected to xxxxxx' ASAP!
>: Looking at the host that I am conneting to shows it's connected!
>: But no prompt for a couple of minutes!
>
>: Now, My guess would be that the nameserver is not working correctly
>: Yet I can ping in any direction by name from any host and it works fine!
>: I can dig nameserver and all reports well!
>: All this happens almost instantly!!
>
>: My primary nameserver db..
>: @     IN      SOA     bsdhost.mynet.org. root.bsdhost.mynet.org.  (
>:                               960502  ; Serial
>:                               3600    ; Refresh
>:                               300     ; Retry
>:                               3600000 ; Expire
>:                               3600 )  ; Minimum
>:               IN      NS      bsdhost.mynet.org.
>: 1             IN      PTR     localhost.mynet.org.
>: bsdhost               IN      A       129.1.29.4
>: 4.29.1.129    IN      PTR     bsdhost
>: wfwhost               IN      A       129.1.29.5
>: 5.29.1.129    IN      PTR     wfwhost
>
>: I know Bogus IP's are frowned upon! It'll never connect to the outside
>: like this so please don't warn me! I know!
>: Is this db properly done??
>
>
>: Help #2
>: Enabled nfs_server
>:   Error: cannot open /var/db/mountdtab
>: I've looked everywhere!! 
>: All the FAQ's that are included with FreeBSD, Web pages, man pages etc...
> etc..
>
>: But I cannot find any info on mountdtab!
>: Could sombody point me towards that info??
>
>I don't know if it's documented (I read it from this newsgroup a while ago).
>Just create the file.  It's used to store a list of file systems that are
>currently remotely mounted.
>
>: I'll say Mucho Gracias now for those that reply with usefull comments!
>
>: O-yea, PLEASE cc: to email to make darn sure I don't miss it..
>
>: Thanks
>: tcg@mainelink.net
>
>--
>Brian <brian@awfulhak.demon.co.uk>
>Don't _EVER_ lose your sense of humour....

| John Lucas                               jlucas@uvi.edu |
| Academic Computing                   NIC Handle: JL423  |
| University of the Virgin Islands        (809) 693-1216  |
| St. Thomas, VI 00802     http://www.uvi.edu/jlucas.html |