Computing.Net > Forums > Linux > DNS zone files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

DNS zone files

Reply to Message Icon

Name: Ams
Date: April 8, 2002 at 00:50:00 Pacific
Comment:

Hi,

While using BIND for name resolution, say within a small intranet, we have to specify the IP addresses and the Hostnames of all the computers on our intranet, in the zone files. right? What if the IP addresses to the hosts are assigned dynamically by DHCP. Please solve this.

thanx in advance...



Sponsored Link
Ads by Google

Response Number 1
Name: Danny Larouche
Date: April 8, 2002 at 06:49:18 Pacific
Reply:

The name of computers will follow the ip. Then you should have something like:

1 IN PTR host1.domain.com.
2 IN PTR host2.domain.com.
3 IN PTR host3.domain.com.
...

If you really need to assign name such as mail.domain.com or www.domain.com... Most advanced router have capability to reserve some IP based on the MAC address of some servers.

Anyway, i never recommend to use DHCP if you are not an ISP (for customers ip range).



0

Response Number 2
Name: Ams
Date: April 11, 2002 at 08:06:36 Pacific
Reply:

Thanx Dear Danny,

Thanx for the response. Well I know that in zone files the hostnames should follow the IP addresses. But on my network, the hosts are assigned IP addresses dynamically by DHCP. So a computer may not keep the same IP every time. So in this situation what should I do?


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: DNS zone files

DNS zone compare script !!! www.computing.net/answers/linux/dns-zone-compare-script-/25483.html

connecting two linux mail servers www.computing.net/answers/linux/connecting-two-linux-mail-servers/6059.html

DNS/BIND issue: servfail upon dig www.computing.net/answers/linux/dnsbind-issue-servfail-upon-dig/21253.html