LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 10-04-2013, 08:16 AM   #1
RHCE_ran
Member
 
Registered: Oct 2013
Posts: 90

Rep: Reputation: Disabled
Understanding of forward zone file


There is DNS implemented in our setup but I am not able to understand some of the entries in the forward zone file. The DNS entries in the forward zone file, fion.co.in.zone are like:

$TTL 86400
$ORIGIN fion.co.in.
@ IN SOA localns1.fion.co.in. admin.fion.co.in. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

IN NS localns1.fion.co.in.
IN MX 10 mail.fion.co.in.

I have the following queries with regard to the above file:

1) The hostname of the server is the same one on which it is hosted which is bssossapp01.snl.com. But, I am not able to understand the entry localns1.fion.co.in. Is it possible that there are multiple hostname aliases for a server?
2) How to determine the entry to be put in hostmaster-email directive which is showing as admin.fion.co.in in our setup?
3) How to determine the email-server-name in the MX record which is showing as mail.fion.co.in as above?

I hope, my query is clear of how to understand the entries in the forward zone file.

Please revert with the reply to my query.

Regards
 
Old 10-04-2013, 03:36 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
1. Sure you can have multiple names for a host. The names are given either through the hosts files (/etc/hosts), or the zone file
2.This is the email of the administrator of the dns, i.e the person responsible for its maintenance. See here for details
3. Quoting from this
Quote:
Specifies the name and relative preference of mail servers (mail exchangers in the DNS jargon) for the zone. The MX RR is used by SMTP (Mail) Agents to route mail for the domain.
HTH
 
Old 10-05-2013, 06:42 AM   #3
RHCE_ran
Member
 
Registered: Oct 2013
Posts: 90

Original Poster
Rep: Reputation: Disabled
Thanks a lot for your answer. I had the following observations with regard to the 3 points on which I got the reply:

1) The remaining part of the forward zone file is like,

IN A 10.101.17.79

localns1 IN A 10.101.17.79
fiontelapps IN A 10.101.17.86
wsc IN A 10.101.17.87

So, that means the entry below in the file of

localns1 IN A 10.101.17.79

finds a match in the entry localns1.fion.co.in. IN SOA localns1.fion.co.in. admin.fion.co.in.?

Does that mean that additional host name localns1 which is now defined in the zone file could also be defined in the /etc/hosts file as

10.101.17.79 bssossapp01 localns1.fion.co.in

where bssossapp01 is the hostname of the machine?

2) The entry in hostmaster-email directive seems to be non-existent but still it does not seem to cause a problem in DNS configuration. So, can we conclude that even if the hostmaster-email does not exist, it is not going to affect the primary role of the DNS of name resolution?

3) Same reasoning as the point above seems to hold for the email-server-name in the MX record. The mail server specified, mail.fion.co.in seems to be non-existent. Can we conclude that even if the email-server-name in the MX record does not exist, it is not going to affect the primary role of the DNS of name resolution?

I hope, my queries above are clear.

Requesting a revert on the above points.

Regards
 
1 members found this post helpful.
Old 10-05-2013, 07:42 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
1.
Quote:
localns1 IN A 10.101.17.79
Means that localns1.fion.co.in resolve to 10.101.17.79
Quote:
Does that mean that additional host name localns1 which is now defined in the zone file could also be defined in the /etc/hosts file as
10.101.17.79 bssossapp01 localns1.fion.co.in
where bssossapp01 is the hostname of the machine?
Note that /etc/hosts is used locally. Other computers use the dns entry, so if you want that bssossapp01 localns1.fion.co.in is resolved by others, you need to add an entry for it in the zone file.

2. Yes, it doesn't matter if the email address is not-existent
But it's better to give a real email address, as this is where a notification will be sent if something goes wrong.

3. Again as above it doesn't matter if the MX host is existent. In fact you don't even need to have a MX record.
It is only needed if you want to supply a mail server for the domain in question.
 
Old 10-07-2013, 12:48 AM   #5
RHCE_ran
Member
 
Registered: Oct 2013
Posts: 90

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bathory View Post
1. Means that localns1.fion.co.in resolve to 10.101.17.79
Note that /etc/hosts is used locally. Other computers use the dns entry, so if you want that bssossapp01 localns1.fion.co.in is resolved by others, you need to add an entry for it in the zone file.

2. Yes, it doesn't matter if the email address is not-existent
But it's better to give a real email address, as this is where a notification will be sent if something goes wrong.

3. Again as above it doesn't matter if the MX host is existent. In fact you don't even need to have a MX record.
It is only needed if you want to supply a mail server for the domain in question.
I really wanted to whole-heartedly thank you for the updates.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which zone bind dns work either in forward zone are reverse zone sanjay87 Linux - Server 2 06-05-2012 04:21 AM
Zone forward in solaris dns shan_nathan Solaris / OpenSolaris 1 05-01-2009 04:53 PM
BIND forward zone OK, reverse zone NOT OK! n03x3c Linux - Server 2 11-05-2008 10:31 PM
Dns Problem Loading The Zone File Error(zone File Not Found) ramineni Linux - Newbie 1 09-14-2008 08:36 AM
Forward of subdomain zone with BIND 9.2.3 geroq Linux - Networking 0 03-06-2006 07:07 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 08:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration