Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-05-2005, 10:54 AM   #1
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Rep: Reputation: 30
DNS Zone Files

Hi guys, got a few question..

I got 2 DNS Servers, one is controlled by Plesk Webserver application as it is running email too. The other, is a manual DNS server, meaning to say I enter the zone file manually myself.

I noted that among the many domains I created in both servers.. some of the zone files are highlighted in green, some of them not. Yet I can't find the differences. Anyone got any idea? I thought green means executable?
Its the same for both sets of zone files in the respective servers.

Next, inside the zone file, in the one by plesk under $TTL 86400, the number is in purple
The one in the other server, it is in Red.

I realise numbers are all in Red, but onlyh in plesk at that portion it is in Purple. How so?

Old 06-05-2005, 11:54 AM   #2
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Rep: Reputation: 33
What editor are you using to view the files? If you are using vi or nvi, don't worry since they sometimes colour code line in order to help in with programming. It might be that the default settings for vi is different on one server than another.

Also, for the hosts file do this in a shell to see if they are executable or not:
ls -la file
any 'x' in th epremissions column mean that the file is executable.
Old 06-05-2005, 09:19 PM   #3
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
how come some host file will be executable one?
Old 06-22-2005, 05:54 AM   #4
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
i did what you mention, all doesn't have 'x'

but how come will have green and grey (standard) colour difference among the zone files?

Some more question about Zone/DNS..

I have 2 DNS server specified, Primary and Secondary. How does DNS work here?
Will name query request always seek Primary server first, and only seek secondary if primary fails? or does it always rotate between the 2?

Cos recently, one of my zone files have different IP address to the Domain Name in the primary(Correct IP) and secondary(Wrong IP), and all these while, it was correct till suddenly today it pointed to the wrong one (that's where I realise the secondary DNS is wrong). So thats what set me thinking....


as mention i have 2 dns servers; one a designated primary, the other secondary

but in my /etc/named.conf

i specify the location of the zone files, but for both sides, the 'type' is master. does it matter?

Please advice


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Setting up DNS on Sues using windows zone files mturner Linux - Networking 2 06-10-2005 10:54 AM
DNS, authority zone mrpc_cambodia Red Hat 3 01-18-2005 10:19 PM
Create zone files by querying dns server kloppster Linux - Software 1 08-19-2004 06:03 PM
Bind and DNS information conf files and zone files aaronluke Linux - General 1 10-13-2002 10:41 AM
Get Zone files from DNS? mig Linux - General 0 02-28-2002 04:03 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:01 AM.

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