Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2000 22:02:04 -0600 (MDT)
From:      Nick Rogness <nick@rapidnet.com>
To:        Fernando Ariel Gont <fgont@softhome.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: DNS setup
Message-ID:  <Pine.BSF.4.05.10006092154120.97244-100000@rapidnet.com>
In-Reply-To: <4.3.2.7.0.20000609133728.00aa1c20@pop.softhome.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 9 Jun 2000, Fernando Ariel Gont wrote:

> Hi!
> 
> I'm having problems setting up named.
> 
> What I want to do is to set named up so that the domains *.ariel.com are 
> translated to the IP address 127.0.0.* (locally on my computer)
> For example:
> 
> a      IN       A    127.0.0.1
> b      IN       A    127.0.0.2
> c      IN       A    127.0.0.3
> 
> and so on... (a.ariel.com should be translated to 127.0.0.1, b.ariel.com to 
> 127.0.0.2, and so on)

	OK.

> 
> I configured named to do the reverse translation (to get the domain name, 
> by means of the IP number), and it works Ok, but I couldn't use it for 
> doing the "forward" translations.


	Did you setup the forward addresses within the zone ariel.com ?
	What do your config files look like?

> 
> I updated the named.boot file and the named.conf and pointed the ones I put 
> in /var/named in these files.
> 

	What does nslookup say about these problems (debug mode)?  


> I've read "TCP/IP Illustrated" (Stevens) chapter about the DNS, and have 
> read some FAQs and HOWTOs, but I couldn't make it work.
> 

	Try O-Reilly DNS/Bind, revision 3...great book.


> If anyone could give me any help, it'd be much appreciated.
> [If you have any config files for doing what I'm trying to do, I'd be glad 
> to receive them in  at fgont@softhome.net , so that I could have a look at 
> them]


	// in 0.0.127.in-addr.arpa zone file:

		1	IN	PTR	a.ariel.com.
		2	IN	PTR	b.ariel.com.
		3	IN	PTR	c.ariel.com.
		.
		.
		.
		

	// in ariel.com zone file:

		a.ariel.com.	IN	A	127.0.0.1
		b.ariel.com.	IN	A	127.0.0.2
		c.ariel.com.	IN	A	127.0.0.3
		.
		.
		.


	Update your Serial numbers for those zones.  Reload your name
	server.


Nick Rogness
- Speak softly and carry a Gigabit switch.




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10006092154120.97244-100000>