Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 1999 14:46:40 +0000
From:      Richard Morte <ric@sinclairassoc.force9.co.uk>
To:        Michael Kennett <mike@laurasia.com.au>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: DNS and resolv.conf
Message-ID:  <38301CD0.E9F80D8F@sinclairassoc.force9.co.uk>
References:  <199911141706.BAA26155@laurasia.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael,

Thank you for your offer of help. Here is the information you require.

Michael Kennett wrote:

> I don't know what your problem is exactly, but could you provide the
> following information:
> 
>
>  1)  The output of the 'hostname' command

sparky.at.home

>  2)  The contents of the /etc/hosts file

etc/hosts :
----------------------------------------------------------------------------------------------------
# local machines:
127.0.0.1		localhost
192.168.120.1		sparky.at.home		sparky
192.168.120.101		rics.at.home		rics
192.168.120.102		ians.at.home		ians
192.168.120.103		rics2.at.home		rics2
# Netscape and Outlook sometimes want to know about mail servers and
newsgroups at the ISP:
195.166.128.81		mail.force9.net
195.166.128.82		mail.force9.net
195.166.128.37		news.force9.net		usenet.force9.net	usenet.plus.net.uk
195.166.128.38		news.force9.net		usenet.force9.net	usenet.plus.net.uk
# Netscape (4.06-4.7) does a DNS lookup at boot time for the following:
198.41.0.6		internic.net
195.44.254.22		home6.netscape.com	home21.netscape.com
wwwld-uk.netscape.com
207.200.75.200		home.netscape.com
207.200.75.204		messenger.netscape.com
# Netscape also needs this for Real Player:
208.147.89.96		hoobajube.real.com
208.147.89.154		rmapup.real.com
----------------------------------------------------------------------------------------------------

 
>  3)  The contents of the /etc/namedb/named.conf file

/etc/namedb/named.conf :
----------------------------------------------------------------------------------------------------
options {
	directory "/etc/namedb";
};

logging {
	channel my_syslog {
		syslog daemon;
		severity info;
	};
	channel my_queries {
		file "/var/log/named/named-queries.log" versions 4 size 100k;
		severity dynamic;
		print-time yes;
		print-category yes;
		print-severity yes;
	};
	channel my_stats {
		file "/var/log/named/named-stats.log" versions 3 size 10k;
		severity debug 1;
		print-time yes;
	};
	channel my_logs {
		file "/var/log/named/named.log" versions 3 size 200k;
		severity debug 1;
		print-time yes;
		print-category yes;
		print-severity yes;

	};

	category default	{ default_syslog; my_logs;};
	category panic		{ default_syslog; };
	category queries	{ my_queries; };
	category statistics	{ my_stats; };
};

zone "0.0.127.IN-ADDR.ARPA" in {
	type master;
	file "db.127.0.0";
	notify no;
};

zone "." in {
	type hint;
	file "db.cache";
};

zone "at.home" in {
	type master;
	file "db.athome";
	notify no;
};

zone "120.168.192.IN-ADDR.ARPA" in {
	type master;
	file "db.192.168.120";
	notify no;
};

zone "ispaddr" in {
	type master;
	file "db.ispaddr";
	notify no;
};

zone "0.0.10.IN-ADDR.ARPA" in {
	type master;
	file "db.10.0.0";
	notify no;
};

zone "local" in {
	type master;
	file "db.local";
	notify no;
};
----------------------------------------------------------------------------------------------------

>  4)  The value of the environment variable HOSTALIASES  (if set)

Nothing set for this.


>  5)  Do you have the 'enable dns' command in your ppp.conf file?
>      (assuming you are using ppp)

No. Here's an extract from ppp.conf:
ppp.conf :
----------------------------------------------------------------------------------------------------

##############################################################################
# DEFAULT : used by all configurations
##############################################################################
default:
 set device /dev/cuaa1
 set speed 115200
 disable pred1
 deny pred1
 disable lqr
 deny lqr
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK
ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set redial 3 1
 set log Phase Chat LCP IPCP CCP tun command


##############################################################################
# DEMAND    : used for "Dial-on-demand" connectivity
#           : $ ppp -auto demand (for this machine only)
#           : $ ppp -auto -alias demand (network/gateway access: all
machines)
##############################################################################
demand:
 set server /var/run/internet "" 0177
 set authname [deleted out]
 set authkey [deleted out]
 set phone "[deleted out]"
 set timeout 180
 set openmode active
 accept chap
 allow users ric ian
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add 0 0 HISADDR
 enable iface-alias
----------------------------------------------------------------------------------------------------


ppp.linkup :
----------------------------------------------------------------------------------------------------
#MYADDR:
 delete ALL
 add 0 0 HISADDR

demand:
 delete ALL
 add 0 0 HISADDR
----------------------------------------------------------------------------------------------------


ppp.linkdown :
----------------------------------------------------------------------------------------------------
MYADDR:
 delete ALL
 set ifaddr 10.0.0.1/0 10.0.0.2/0
 add 0 0 10.0.0.2

demand:
 iface clear

dynamic-alias-auto:
 iface clear
----------------------------------------------------------------------------------------------------

Michael, you have quite a job on your hands with all this. I do so very
much appreciate you generous offer of help. I look forward to hearing
from you when time permits.


Kind regards,


Ric


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38301CD0.E9F80D8F>