Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Sep 1999 01:21:29 +0800
From:      Peter Kok <cckok00@stlinux.ouhk.edu.hk>
To:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   any idea about setting up DNS
Message-ID:  <37D2A699.8567EED8@stlinux.ouhk.edu.hk>

next in thread | raw e-mail | index | archive | help
Hello all

I follow the:
PPP - Pedantic PPP Primer
and would like to set up DNS server and use DIAL UP to connect internet

I would like to know that

1/ can ping ip 10.0.0.1 from win98 but coudln't ping as name
'itsfreebsd'
2/ can ping myself as pooh instead of ip address in win98
3/ using tracert command 'tracert 202.xx.xx.1 (DNS ip address)  from
win98
but it only reached the gateway '10.0.0.1' but couldn't reach DNS server

(I already are in internet connecting at freebsd box)
4/ On freebsd box. it can ping itself as (10.0.0.1 and itsfreebsd)

anyone know what i make wrong?

Thank you

regards
Peter

-------------------------------------------------------------------------

2.2. Assumptions about the Local Area Network

Some specific assumptions about this sample network are:

Three workstations and a Server are connected with Ethernet cabling:

     a FreeBSD Server ("itsfreebsd") with an 3COM adapter configured as
'vx0'
     a Windows-95 workstation ("pooh") with Microsoft's "native" 32-bit
TCP/IP drivers

The IP Addresses on the Ethernet side of this sample LAN have been

taken from the pool of "reserved" addresses proposed in RFC-1597. IP
addresses are assigned as follows:

Name            IP Address
"itsfreebsd"         10.0.0.1     # The FreeBSD box
"pooh"         10.0.0.2     # The Win'95 box
-----------------------------------------------------------------------------

a file: named.boot


directory /etc/namedb

; type    domain  source host/file  backup file

cache     .   named.root
primary   asia.net. asianet.db

..............................................................

a file: asianet.db


@ IN SOA asia.net. root.asia.net. (
     961230 ; Serial
     3600 ; Refresh
     300 ; Retry
     360000 ; Expire
     3600 ) ; Minimum
 IN NS itsfreebsd.asia.net.

itsfreebsd.asia.net. IN A 10.0.0.1
pooh.asia.net.  IN A 10.0.0.2

$ORIGIN 0.0.10.IN-ADDR.ARPA
  IN NS itsfreebsd.asia.net.
1  IN PTR itsfreebsd.asia.net.
2  IN PTR pooh.asia.net.

$ORIGIN 0.0.127.IN-ADDR.ARPA
  IN NS itsfreebsd.asia.net.
1  IN PTR localhost.asia.net.

........................................................................

and the win98's host.sam file is

# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

10.0.0.1 itsfreebsd.asia.net
10.0.0.2 pooh.asia.net

...............................................................



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?37D2A699.8567EED8>