LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Closed Thread
  Search this Thread
Old 11-12-2012, 11:47 AM   #1
mohitnarula
LQ Newbie
 
Registered: Oct 2012
Posts: 24

Rep: Reputation: Disabled
Exclamation DNS Tutorial Question 3. Linuxzoo.net


Hello everyone,

I have spent hours trying to figure this out but don't think am going anywhere near.

So the Question is:

Create a brand new forward zone for domain "sillynet.net" in the named configuration directory /var/named/. For this you should create a new zone file called "sillynet.zone" (copying named.localhost to sillynet.zone might be a good starting point). Add this file, along with its zone information, to the configuration file /etc/named.conf.

This zone should give:

sillynet.net -> IP address 12.0.0.20
www.sillynet.net -> IP address 12.0.0.30
Hints. It is a master type. The zone file must be readable by the user "named". Remember to use "service named reload" when you change the config file.


Now the things which I have to check are as follows:


sillynet.zone has A record for .20 PASSED
sillynet.zone has A record for .30 PASSED
sillynet.zone has ZONE record in named.conf PASSED
Check sillynet.net resolves FAILED
Check www.sillynet.net resolves FAILED


A. "named.conf" file:

options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; };
recursion yes;

dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;

/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";

managed-keys-directory "/var/named/dynamic";
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "sillynet.net" IN {
type master;
file "sillynet.zone";
allow-update(none;
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";


B. "sillynet.zone" file:

$TTL 1D
@ IN SOA @ rname.invalid. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum

NS @
sillynet.net A 12.0.0.20
www.sillynet.net A 12.0.0.30



This where I'm not able to get it right. Dunno what should I do. Can anyone please help as soon as possible.
 
Old 11-12-2012, 03:15 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread



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
Serial to net? net2ser, sredird how-to or tutorial? matiasar Linux - Software 7 08-06-2008 08:42 PM
Good DNS Tutorial moenterprise Linux - Server 5 04-04-2007 01:30 AM
linuxzoo.net mimithebrain Linux - General 3 11-04-2006 02:26 PM
Tutorial: Installing Debian, net installer, DSL, x86 machiner Debian 4 04-25-2005 03:39 PM
DNS tutorial LinuxRam Linux - Newbie 4 09-12-2004 06:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:41 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