Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2002 23:29:54 +0100
From:      "Philip Pereira" <info@wintellect.co.uk>
To:        <freebsd-questions@FreeBSD.ORG>
Cc:        "Joe & Fhe Barbish" <barbish@a1poweruser.com>
Subject:   DNS - where am I going wrong? Or am I stupid?
Message-ID:  <000901c1dc28$40580f40$c59901d4@wintellect.com>
References:  <LPBBIGIAAKKEOEJOLEGOGENICMAA.barbish@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0006_01C1DC30.A0373C80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

AAARRRRGGGGHHHHH!

Have two boxes (still):
BOX1 - FreeBSD server on 192.168.1.1 (this one to be DNS for LAN)
              hostname: freeserver.wintellect.com
BOX2 - FreeBSD workstation on 192.168.1.2
              hostname: freework.wintellect.com

I'm sure I'm getting the DNS files right! But, whenever I type:

"host freework"        or
"host freework freeserver"
on BOX1 I get:
"Host not found, try again."

Have done my homework first - lots of reading and checked examples on th
web - before seaking your help!

Included are my files to aid you in helping me solve my problem!

MUCH thanks in advance!

Phil.


------=_NextPart_000_0006_01C1DC30.A0373C80
Content-Type: application/octet-stream;
	name="db.wintellect.com"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="db.wintellect.com"

$TTL 86400=0A=
=0A=
wintellect.com.   IN     SOA      freeserver.wintellect.com. =
phil.freeserver.wintellect.com. (=0A=
                  2002040401      ; Serial (YYYYYYDDMM plus 2 digit =
serial)=0A=
                  86400           ; Refresh (1 day)=0A=
                  7200            ; Retry (2 hours)=0A=
                  8640000         ; Expire (100 days)=0A=
                  86400)          ; Minimum (1 day)=0A=
=0A=
                  IN     NS       freeserver.wintellect.com.=0A=
                  IN     MX       10 freeserver.wintellect.com.=0A=
=0A=
localhost         IN     A        127.0.0.1=0A=
freeserver        IN     A        192.168.1.1=0A=
freework          IN     A        192.168.1.2=0A=
me01              IN     A        192.168.1.3=0A=

------=_NextPart_000_0006_01C1DC30.A0373C80
Content-Type: application/octet-stream;
	name="localhost.rev"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="localhost.rev"

;	From: @(#)localhost.rev	5.1 (Berkeley) 6/30/90=0A=
; $FreeBSD: src/etc/namedb/PROTO.localhost.rev,v 1.6 2000/01/10 15:31:40 =
peter Exp $=0A=
;=0A=
; This file is automatically edited by the `make-localhost' script in=0A=
; the /etc/namedb directory.=0A=
;=0A=
=0A=
$TTL	3600=0A=
=0A=
@	IN	SOA	freeserver.wintellect.com. root.freeserver.wintellect.com.  (=0A=
				20020404	; Serial=0A=
				3600	; Refresh=0A=
				900	; Retry=0A=
				3600000	; Expire=0A=
				3600 )	; Minimum=0A=
	IN	NS	freeserver.wintellect.com.=0A=
1	IN	PTR	localhost.wintellect.com.=0A=

------=_NextPart_000_0006_01C1DC30.A0373C80
Content-Type: application/octet-stream;
	name="named.conf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="named.conf"

options {=0A=
	directory "/etc/namedb";=0A=
=0A=
	forwarders {=0A=
		193.38.113.3; 194.117.157.4;=0A=
	};=0A=
=0A=
	query-source address * port 53;=0A=
};=0A=
=0A=
zone "." {=0A=
	type hint;=0A=
	file "named.root";=0A=
};=0A=
=0A=
zone "0.0.127.IN-ADDR.ARPA" {=0A=
	type master;=0A=
	file "localhost.rev";=0A=
};=0A=
=0A=
zone "wintellect.com" {=0A=
        type master;=0A=
        file "db.wintellect.com";=0A=
};=0A=
=0A=
zone "1.168.192.in-addr.arpa" {=0A=
        type master;=0A=
        file "wintellect.com-reverse";=0A=
};=0A=

------=_NextPart_000_0006_01C1DC30.A0373C80
Content-Type: application/octet-stream;
	name="rc.conf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="rc.conf"

=0A=
# -- sysinstall generated deltas -- # Sat Mar 23 17:04:25 2002=0A=
# Created: Sat Mar 23 17:04:25 2002=0A=
# Enable network daemons for user convenience.=0A=
# Please make all changes to this file, not to /etc/defaults/rc.conf.=0A=
# This file now contains just the overrides from /etc/defaults/rc.conf.=0A=
gateway_enable=3D"YES"                 # enable routing from this server=0A=
hostname=3D"freeserver.wintellect.com"=0A=
ifconfig_de0=3D"inet 192.168.1.1  netmask 255.255.255.0"=0A=
inetd_enable=3D"YES"=0A=
kern_securelevel_enable=3D"NO"=0A=
keymap=3D"uk.iso"=0A=
linux_enable=3D"YES"=0A=
moused_enable=3D"YES"=0A=
nfs_client_enable=3D"YES"=0A=
nfs_reserved_port_only=3D"YES"=0A=
nfs_server_enable=3D"YES"=0A=
saver=3D"logo"=0A=
sendmail_enable=3D"YES"=0A=
sshd_enable=3D"YES"=0A=
usbd_enable=3D"YES"=0A=
named_server=3D"YES"=0A=
named_program=3D"/usr/sbin/named"=0A=
named_flags=3D"-u bind -g bind"=0A=

------=_NextPart_000_0006_01C1DC30.A0373C80
Content-Type: application/octet-stream;
	name="resolv.conf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="resolv.conf"

domain wintellect.com=0A=
nameserver 192.168.1.1=0A=
nameserver 193.38.113.3=0A=
nameserver 194.117.157.4=0A=

------=_NextPart_000_0006_01C1DC30.A0373C80
Content-Type: application/octet-stream;
	name="wintellect.com-reverse"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="wintellect.com-reverse"

$TTL 86400=0A=
=0A=
@                 IN     SOA      freeserver.wintellect.com. =
phil.freeserver.wintellect.com. (=0A=
                  2002040401      ; Serial (YYYYYYDDMM plus 2 digit =
serial)=0A=
                  86400           ; Refresh (1 day)=0A=
                  7200            ; Retry (2 hours)=0A=
                  8640000         ; Expire (100 days)=0A=
                  86400)          ; Minimum (1 day)=0A=
=0A=
                  IN     NS       freeserver.wintellect.com.=0A=
=0A=
2                 IN     PTR      freework.wintellect.com. =0A=
3                 IN     PTR      me01.wintellect.com.=0A=

------=_NextPart_000_0006_01C1DC30.A0373C80--



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?000901c1dc28$40580f40$c59901d4>