Bind dns server zone file


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Bind dns server zone file
# 1  
Old 07-23-2013
Tools Bind dns server zone file

I have a couple of zone conf files for the BIND server.
There are some records that contains the "IN" statement and some do not.
But anyway this works.
So my question is what this "IN" is intended for?
Here is the zone file example:

Code:
ORIGIN .
$ttl 60
example.com.    IN      SOA     ns1.example.com. hostmaster.example.com. (
                        2012030914
                        300
                        3600
                        600
                        86400 )
                        NS      ns1.example.com.
                        A       192.168.12.71
                        MX      10 webmail.example.com.
$ORIGIN example.com.
jira                    A       192.168.24.32
localhost               A       127.0.0.1
ns1                     A       192.168.12.15
qa                      A       192.168.12.22
webmail                 A       192.168.12.68
webmin.example.com.     IN      A       192.168.13.151
pmp.example.com.        IN      A       192.168.12.13
example.com.    IN      A       192.168.12.14
testsrvx.example.com.   IN      A       192.168.13.124
cisco.example.com.      IN      A       192.168.12.13
provisioning.example.com.       IN      A       192.168.13.151
zabbix.example.com.     IN      A       192.168.12.69
ca.example.com. IN      A       192.168.13.151
test1.example.com.      IN      A       127.0.0.1

# 2  
Old 07-24-2013
Class = IN = Internet Protocol

List of DNS record types - Wikipedia, the free encyclopedia


http://tools.ietf.org/html/rfc1035

3.2.4. CLASS values

CLASS fields appear in resource records. The following CLASS mnemonics
and values are defined:

IN 1 the Internet

CS 2 the CSNET class (Obsolete - used only for examples in
some obsolete RFCs)

CH 3 the CHAOS class

HS 4 Hesiod [Dyer 87]


BTW, names ending in '.' are not tried with domain name prefixes. Often, the domain is also a host, like an email or web server. If an email server, it may have a stub web server to redirect everyone to www.domain.

Last edited by DGPickett; 07-24-2013 at 04:07 PM..
This User Gave Thanks to DGPickett For This Post:
# 3  
Old 07-26-2013
So this means that in my case the following record:
Code:
webmin.example.com.     IN      A       192.168.13.151

and the record:
Code:
webmin.example.com.      A       192.168.13.151

will mean the same and have the same response to a query?
# 4  
Old 08-02-2013
I would guess most of us are doing IN ! It might be more necessary for dotted names in left. I suppose you could say it every time just to be safe and more consistent. Try it.
# 5  
Old 08-03-2013
For BIND, the class field is optional. If the class field is omitted, the class IN is assumed.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Host file to dns zone creation solution?

We are currently using the famous script H2N to create our DNS zone files from a host file. However, we are moving to IPV6 soon and this script doesnt support IPV6. Is there another script/solution to creating DNS zones via a host file input? Is there another solution or way to do things that I may... (0 Replies)
Discussion started by: jpolachak
0 Replies

2. UNIX for Dummies Questions & Answers

Host file to DNS zone creation

We are currently using the famous script H2N to create our DNS zone files from a host file. However, we are moving to IPV6 soon and this script doesnt support IPV6. Is there another script/solution to creating DNS zones via a host file input? (0 Replies)
Discussion started by: jpolachak
0 Replies

3. Solaris

BIND DNS Server issue on Solaris 10

Hi all, I have some sort of problem with BIND DNS server my environment as follows. bash-3.00# cat /etc/release Solaris 10 6/06 s10s_u2wos_09a SPARC Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is subject to... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies

4. IP Networking

DNS does all slave Name Server must be in the zone Resource Record file?

Hy guys, I've a problem configuring my Name Server (using bind 9) which is I'ts always necessary to put all slave Name Server for a zone in the zone resource record file or db (as you prefer)? I've this scenario: A - my domain which is son of some TLD and I delegated into two new domains B... (1 Reply)
Discussion started by: pharaoh
1 Replies

5. IP Networking

Freebsd Bind DNS server - multiple subnets

Hello all, I have configured Freebsd 8.1 Bind DNS as DNS server for intrenal domain and clients on one subnet 192.168.10.0/24 . What do I have to change in zone file and in in-addr.arpa zone file if I have two additional subsets 192.168.20.0/24 and 192.168.30.0/24? Do I have to create another... (0 Replies)
Discussion started by: kreno
0 Replies

6. UNIX for Advanced & Expert Users

DNS server choice: Windows DNS vs Linux BIND

I'd like to get some opnions on choosing DNS server: Windows DNS vs Linux BIND comparrsion: 1) managment, easy of use 2) Security 3) features 4) peformance 5) ?? I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies

7. UNIX for Advanced & Expert Users

DNS Bind

Hello, I have a question about dns file zone. Every zone file begins like: @ 86400 IN SOA ns1.website.com. admin@website.com. ( It means that name server ns1 is responsible for this zone. At the ending I can add the records like mysite.com IN A 1.2.3.4 So it will... (2 Replies)
Discussion started by: mirusnet
2 Replies

8. Solaris

Bind zone transfer recategorises zone file?

Hi, I have a primary/slave Bind 9 setup running on a Solaris 10 platform. Everything is hunky dorey, except for when I make a zone file change and up the serial the file that is transferred to the slave looses all its comments, and the entries are place in alphabetical order. I administer many... (1 Reply)
Discussion started by: fulhamfcboy
1 Replies

9. IP Networking

bind zone transfer?

Hi all, How to deny any zone transfer out of my host??? bind 8.2.3 Thank you all, Regards :D (2 Replies)
Discussion started by: solvman
2 Replies
Login or Register to Ask a Question