dhcp or dns of just freebsd
Kevin Darcy
kcd at daimlerchrysler.com
Mon Jun 25 22:16:01 UTC 2001
Okay, first of all, why are you repeating the "dns1", "www2" and "gateway1" entries?
named filters out duplicate records, so you're just wasting space.
You've got a "dns1" entry and a "router1" entry in that zonefile, so it looks to me like
you're already two-thirds of the way to where you want to be. Add a "backbone" entry and
you should be set.
Or am I misunderstanding what you're trying to do?
Of course, the presumption here is that this is just for a private network, since those
10.*.*.* addresses aren't going to do you any good on the Internet...
- Kevin
future wrote:
> my dns problem is almost solved
>
> i've found the problems ,
>
> one of them is that my server has 3 networkcards
> and 3 ipnr's but bind only sees 1 name for whole sytstem
> (dns1.future2005.com )
> what i realy want is naming every networkcard
> (1 = intenetcable = dns1.future2005.com 62.xxx.xxx.x)
> (2 = router1 = router1.future2005.com 10.0.0.1 )
> (3 = backbone = backbone.future2005.com 10.0.1.1)
>
> my dns now only works if i do
>
> $TTL 3600
> @ IN SOA dns1.future2005.com. frank.future2005.com.
> (
> 1 ; Serial ; Increment by one after every change
> 3600 ; Refresh every hour
> 900 ; Retry every 15 minutes
> 3600000 ; Expire 1000 hours
> 3600 ) ; Minimum 1 hour
>
> IN NS dns1.future2005.com.
> IN NS www2.future2005.com.
>
> IN MX 10 dns1.future2005.com.
> IN MX 20 www2.future2005.com.
>
> localhost IN A 127.0.0.1
>
> dns1 IN A 10.0.0.1
> www2 IN A 10.0.0.2
> gateway1 IN A 10.0.0.3
>
> dns1 IN A 10.0.1.1
> www2 IN A 10.0.1.2
> gateway1 IN A 10.0.1.3
>
> router1 IN CNAME dns1.future2005.com.
> ftp IN CNAME www2.future2005.com.
>
> does someone know a solution
>
> greetings frank
>
More information about the bind-users
mailing list