*BSD News Article 63204


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!vyzynz!news.ios.com!rk.ios.com!rashid
From: rashid@rk.ios.com (Rashid  Karimov)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Internet configuration
Date: 28 Feb 1996 01:16:35 GMT
Organization: Internet Online Services
Lines: 73
Message-ID: <4h0adj$qgc@news.ios.com>
References: <4gvqns$k4u$1@mhadg.production.compuserve.com>
NNTP-Posting-Host: rk.ios.com
X-Newsreader: TIN [version 1.2 PL2]


	Hi there folx,

Tim Trampedach (100322.3235@CompuServe.COM) wrote:
: Hello everyone!

: I am running FreeBSD 2.1 and have some internet problems: I cannot 
: locate a DNS, i.e. nslookup always fails. Could someone please tell 
: me the exact configuration of my ethernet card through which the 
: computer is connected to the Internet. Here is my connection data:

: 	* I am connected through a router (194.120.57.141)
: 	* My IP address: 194.120.57.142
: 	* My machine's name: dsc.isar.de
: 	* My net's address: 194.120.57.140 (net.dsc.isar.de)
	
	Weird thing - what do you need it for ? You have
	generic class C , not subnetted I guess , so just get rid
	of that net. machine. You network address is 194.120.57.0
	with netmask 0xffffff00 - it shouldn't be in DNS , there
	shouldnt be no hosts with this IP


: 	* the broadcast IP: 194.120.57.143 (broadcast.dsc.isar.de)

	The same here - ithe broadcast for you net is 194.129.57.255.
	This one shouldn't be in the DNS and under NO circumstances
	this IP can be assigned to any host.


: Could you please tell me in which files exactly what needs to be 
: specified. The Ethernet card's device name is ed0 by the way and in 
: general everything works concerning the card expect anything to do 
: with domain names, although telnet and ftp to IP addresses is not a 
: problem.

	What you need is working DNS server you can use. It can
	be not in your LAN , but it should be reachable , ieg
	your class C should be routed to your location by your
	ISP.
	 It would be nice to have DNS for YOUR domain setup also.
	 You can run it yourself or ask your ISP to do it for you.
	 The DNS server for your zone should be well known for the  outside
	 world - ie should be registered with Internic(or RIPE?).


	 After having all these setup , put the IP of the DNS server
	 (or 127.0.0.1 if you'll run yourself) in /etc/resolv.conf:

	 domain your.domain.name
	 nameserver DNS.SERVER.IP.ADDRESS


	 be sure to have default route ( take a look at /etc/sysconfig)

	 and off you go !

: Another hint: when I boot, it tells me twice that 'My host's name 
: does not seem to exist!', although it does exist.

	sendmail complains 'cause there is no working DNS for your zone

	Try to get some generic Unix book - Unix system administration
	or something like this :)
--
                             ------------------

               Beyond the horizon of the place we lived when we were young
               In the world of magnets and miracles
               Our thoughts strayed constantly and without boundary
               The ringing of the division bell had begun ...
                        -=PF, The Division Bell=-