Fedora Linux Support Community & Resources Center
  #1  
Old 14th June 2012, 02:06 AM
GuillermoB08 Offline
Registered User
 
Join Date: Jun 2012
Location: Panamá
Posts: 2
windows_7chrome
Post I canīt start DNS service in Fedora 16

In the named.conf I have this:

options {
#listen-on port 53 { 127.0.0.1; };
listen-on-v6 { none; };
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; 192.168.2.0/24; };
allow-transfer { localhost; 192.168.2.0/24; };
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;
};
};

view "internal" {
match-clients {
localhost;
192.168.2.0/24;
};
zone "." IN {
type hint;
file "named.ca";
};
zone "fedoraserver.com" IN {
type master;
file "fedoraserver.com.lan";
allow-update { none; };
};
zone "2.168.192.in-addr.arpa" IN {
type master;
file "2.168.192.db";
allow-update { none; };
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
};
#esta secciōn es para informaciōn externa
view "external" {
match-clients { any; };
allow-query { any; };
recursion no;
zone "fedoraserver.com" IN {
type master;
file "fedoraserver.com.wan";
allow-update { none; };
};
zone "80.0.16.172.in-addr.arpa" IN {
type master;
file "80.0.16.172.db";
allow-update { none; };
};
};


In the fedoraserver.com.lan file have this:
$TTL 86400
@ IN SOA dlp.fedoraserver.com. root.fedoraserver.com. (
2011110901 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)

# define name server

IN NS dlp.fedoraserver.com.

# internal IP address of name server

IN A 192.168.2.5

# define Mail exchanger

IN MX 10 dlp.fedoraserver.com


# define IP address and hostname

dlp IN A 192.168.2.5


In the fedoraserver.com.wan file have this:
$TTL 86400
@ IN SOA dlp.fedoraserver.com. root.fedoraserver.com. (
2011110901 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)
# define name server
IN NS dlp.fedoraserver.com.
# internal IP address of name server
IN A 172.16.0.82
# define Mail exchanger
IN MX 10 dlp.fedoraserver.com.

# define IP address and hostname
dlp IN A 172.16.0.82

In the 2.168.192.db file have this:
$TTL 86400
@ IN SOA dlp.fedoraserver.com. root.fedoraserver.com. (
2011110901 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)

# define name server

IN NS dlp.fedoraserver.com.


# define range that this domain name is in

IN PTR fedoraserver.com.
IN A 255.255.255.0


# define IP address and hostname

30 IN PTR dlp.fedoraserver.com.
-----------------------------------------------------------------------------------------------------

In the 80.0.16.172.db file have this:
$TTL 86400
@ IN SOA dlp.fedoraserver.com. root.fedoraserver.com. (
2011110901 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)

# define name server

IN NS dlp.fedoraserver.com.


# define range that this domain name is in

IN PTR fedoraserver.com.
IN A 255.255.255.248


# define IP address and hostname

82 IN PTR dlp.fedoraserver.com.

-----------------------------------------------------------------------------------------------------
Reply With Quote
  #2  
Old 14th June 2012, 02:06 AM
GuillermoB08 Offline
Registered User
 
Join Date: Jun 2012
Location: Panamá
Posts: 2
windows_7chrome
Re: I canīt start DNS service in Fedora 16

this is error in cat /var/log/messages

Jun 13 14:21:49 FedoraServer named[2502]: Starting named:
Jun 13 14:21:49 FedoraServer named[2502]: Error in named configuration:
Jun 13 14:21:49 FedoraServer named[2502]: fedoraserver.com.lan:10: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named[2502]: fedoraserver.com.lan:14: unknown RR type 'internal'
Jun 13 14:21:49 FedoraServer named[2502]: fedoraserver.com.lan:16: #.fedoraserver.com: bad owner name (check-names)
Jun 13 14:21:49 FedoraServer named[2502]: fedoraserver.com.lan:18: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named[2502]: fedoraserver.com.lan:20: #.fedoraserver.com: bad owner name (check-names)
Jun 13 14:21:49 FedoraServer named[2502]: fedoraserver.com.lan:23: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named[2502]: zone fedoraserver.com/IN: loading from master file fedoraserver.com.lan failed: unknown class/type
Jun 13 14:21:49 FedoraServer named[2502]: zone fedoraserver.com/IN: not loaded due to errors.
Jun 13 14:21:49 FedoraServer named[2502]: internal/fedoraserver.com/IN: unknown class/type
Jun 13 14:21:49 FedoraServer named[2502]: 2.168.192.db:1: unknown RR type '~]#'
Jun 13 14:21:49 FedoraServer named[2502]: 2.168.192.db:2: unknown RR type '/var/named/0.0.10.db'
Jun 13 14:21:49 FedoraServer named[2502]: 2.168.192.db:13: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named[2502]: 2.168.192.db:18: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named[2502]: 2.168.192.db:21: #.2.168.192.in-addr.arpa: bad owner name (check-names)
Jun 13 14:21:49 FedoraServer named[2502]: 2.168.192.db:24: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named[2502]: zone 2.168.192.in-addr.arpa/IN: loading from master file 2.168.192.db failed: unknown class/type
Jun 13 14:21:49 FedoraServer named[2502]: zone 2.168.192.in-addr.arpa/IN: not loaded due to errors.
Jun 13 14:21:49 FedoraServer named[2502]: internal/2.168.192.in-addr.arpa/IN: unknown class/type
Jun 13 14:21:49 FedoraServer named[2502]: zone localhost.localdomain/IN: loaded serial 0
Jun 13 14:21:49 FedoraServer named[2502]: zone localhost/IN: loaded serial 0
Jun 13 14:21:49 FedoraServer named[2502]: zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
Jun 13 14:21:49 FedoraServer named[2502]: zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
Jun 13 14:21:49 FedoraServer named[2502]: zone 0.in-addr.arpa/IN: loaded serial 0
Jun 13 14:21:49 FedoraServer named[2502]: fedoraserver.com.wan:10: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named[2502]: fedoraserver.com.wan:14: unknown RR type 'internal'
Jun 13 14:21:49 FedoraServer named[2502]: fedoraserver.com.wan:16: #.fedoraserver.com: bad owner name (check-names)
Jun 13 14:21:49 FedoraServer named[2502]: fedoraserver.com.wan:18: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named[2502]: fedoraserver.com.wan:20: #.fedoraserver.com: bad owner name (check-names)
Jun 13 14:21:49 FedoraServer named[2502]: fedoraserver.com.wan:23: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named[2502]: zone fedoraserver.com/IN: loading from master file fedoraserver.com.wan failed: unknown class/type
Jun 13 14:21:49 FedoraServer named[2502]: zone fedoraserver.com/IN: not loaded due to errors.
Jun 13 14:21:49 FedoraServer named[2502]: external/fedoraserver.com/IN: unknown class/type
Jun 13 14:21:49 FedoraServer named[2502]: 80.0.16.172.db:10: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named[2502]: 80.0.16.172.db:15: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named[2502]: 80.0.16.172.db:18: #.80.0.16.172.in-addr.arpa: bad owner name (check-names)
Jun 13 14:21:49 FedoraServer named[2502]: 80.0.16.172.db:21: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named[2502]: zone 80.0.16.172.in-addr.arpa/IN: loading from master file 80.0.16.172.db failed: unknown class/type
Jun 13 14:21:49 FedoraServer named[2502]: zone 80.0.16.172.in-addr.arpa/IN: not loaded due to errors.
Jun 13 14:21:49 FedoraServer named[2502]: external/80.0.16.172.in-addr.arpa/IN: unknown class/type
Jun 13 14:21:49 FedoraServer named[2502]: [FAILED]
Jun 13 14:21:49 FedoraServer named: fedoraserver.com.lan:10: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named: fedoraserver.com.lan:14: unknown RR type 'internal'
Jun 13 14:21:49 FedoraServer named: fedoraserver.com.lan:16: #.fedoraserver.com: bad owner name (check-names)
Jun 13 14:21:49 FedoraServer named: fedoraserver.com.lan:18: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named: fedoraserver.com.lan:20: #.fedoraserver.com: bad owner name (check-names)
Jun 13 14:21:49 FedoraServer named: fedoraserver.com.lan:23: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named: zone fedoraserver.com/IN: loading from master file fedoraserver.com.lan failed: unknown class/type
Jun 13 14:21:49 FedoraServer named: zone fedoraserver.com/IN: not loaded due to errors.
Jun 13 14:21:49 FedoraServer named: internal/fedoraserver.com/IN: unknown class/type
Jun 13 14:21:49 FedoraServer named: 2.168.192.db:1: unknown RR type '~]#'
Jun 13 14:21:49 FedoraServer named: 2.168.192.db:2: unknown RR type '/var/named/0.0.10.db'
Jun 13 14:21:49 FedoraServer named: 2.168.192.db:13: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named: 2.168.192.db:18: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named: 2.168.192.db:21: #.2.168.192.in-addr.arpa: bad owner name (check-names)
Jun 13 14:21:49 FedoraServer named: 2.168.192.db:24: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named: zone 2.168.192.in-addr.arpa/IN: loading from master file 2.168.192.db failed: unknown class/type
Jun 13 14:21:49 FedoraServer named: zone 2.168.192.in-addr.arpa/IN: not loaded due to errors.
Jun 13 14:21:49 FedoraServer named: internal/2.168.192.in-addr.arpa/IN: unknown class/type
Jun 13 14:21:49 FedoraServer named: zone localhost.localdomain/IN: loaded serial 0
Jun 13 14:21:49 FedoraServer named: zone localhost/IN: loaded serial 0
Jun 13 14:21:49 FedoraServer named: zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
Jun 13 14:21:49 FedoraServer named: zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
Jun 13 14:21:49 FedoraServer named: zone 0.in-addr.arpa/IN: loaded serial 0
Jun 13 14:21:49 FedoraServer named: fedoraserver.com.wan:10: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named: fedoraserver.com.wan:14: unknown RR type 'internal'
Jun 13 14:21:49 FedoraServer named: fedoraserver.com.wan:16: #.fedoraserver.com: bad owner name (check-names)
Jun 13 14:21:49 FedoraServer named: fedoraserver.com.wan:18: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named: fedoraserver.com.wan:20: #.fedoraserver.com: bad owner name (check-names)
Jun 13 14:21:49 FedoraServer named: fedoraserver.com.wan:23: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named: zone fedoraserver.com/IN: loading from master file fedoraserver.com.wan failed: unknown class/type
Jun 13 14:21:49 FedoraServer named: zone fedoraserver.com/IN: not loaded due to errors.
Jun 13 14:21:49 FedoraServer named: external/fedoraserver.com/IN: unknown class/type
Jun 13 14:21:49 FedoraServer named: 80.0.16.172.db:10: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named: 80.0.16.172.db:15: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named: 80.0.16.172.db:18: #.80.0.16.172.in-addr.arpa: bad owner name (check-names)
Jun 13 14:21:49 FedoraServer named: 80.0.16.172.db:21: unknown RR type 'define'
Jun 13 14:21:49 FedoraServer named: zone 80.0.16.172.in-addr.arpa/IN: loading from master file 80.0.16.172.db failed: unknown class/type
Jun 13 14:21:49 FedoraServer named: zone 80.0.16.172.in-addr.arpa/IN: not loaded due to errors.
Jun 13 14:21:49 FedoraServer named: external/80.0.16.172.in-addr.arpa/IN: unknown class/type
Jun 13 14:21:49 FedoraServer systemd[1]: named.service: control process exited, code=exited status=2
Jun 13 14:21:49 FedoraServer systemd[1]: Unit named.service entered failed state


Please help me, I canīt start dns service.
Reply With Quote
Reply

Tags
canīt, dns, fedora, fedora 16 32 bit, service, start

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] A init.d service script works with `service XX start` but not `systemctl start XX` lovetide Using Fedora 1 13th February 2014 02:28 PM
[SOLVED] mcstrans.service and xenstored.service failing to start on boot FC16 gkasica Using Fedora 2 16th February 2012 01:39 PM
Can't start CAPI service on Fedora 9 d0gf Servers & Networking 0 25th August 2008 01:55 PM
httpd service won't start after upgrade to Fedora 8 jestiva Installation, Upgrades and Live Media 2 23rd January 2008 02:31 AM
chkconfig wokrs but service start says unknow service gkk Servers & Networking 4 10th December 2007 02:45 AM


Current GMT-time: 05:42 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletinŪ Copyright Đ2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Kundgol - Ambatofinandrahana Photos - Kibre Mengist Instagram Photos