Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th July 2013, 10:14
d3w4n664 d3w4n664 is offline
Junior Member
 
Join Date: Jul 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Unhappy I can't understand why my dns server won't work. i get this, when i testing with "dig

i have some configuration for my local virtual private server ( Centos 6.4 ), when i do " DIG " appears notification ";; connection timed out; no servers could be reached"

// my ipaddress 192.168.42.12/24
// my VPS ipaddress 192.168.42.12
// my VPS namesever 192.168.42.13

======================named.conf================== =========
options {
listen-on port 53 {127.0.0.1; };
listen-on-v6 port 53 { ::1; };
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 { 192.168.42.0/24; localhost; };
recursion yes;
allow-recursion {any;};


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

managed-keys-directory "/var/named/dynamic";
};
controls { inet 127.0.0.1 allow {localhost;} keys {rndc-key;};
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic ;};
};
zone "." IN {
type hint;
file "named.ca";
};

zone "dewangga.com" IN {
type master ;
file "fwd.dewangga.com";
allow-update { none; };
};

zone "42.168.192.in-addr.arpa" IN {
type master;
file "rev.dewangga.com";
allow-update {none;};
};

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

=====================fwd.dewangga.com============= =====
$TTL 86400
@ IN SOA dns1.dewangga.com. root.dewangga.com. (
2011071001 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum
)
@ IN NS dns1.dewangga.com.

dns1 IN A 192.168.42.12
================================================== ====

=====================rev.dewangga.com============= ======

TTL 86400
@ IN SOA dns1.dewangga.com. root.dewangga.com. (
2011071001 ; serial
3600 ; refresh
1800 ; retry
604800 ; expire
86400 ; minimum
)
NS dns1.dewangga.com.
1 PTR dns1.dewangga.com.
dns1 A 192.168.42.12

================================================== ====

when I wrote "dig dns1.dewangga.com" show

[root@localhost /]# dig dns1.dewangga.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.4 <<>>dns1.dewangga.com
;; global options: +cmd
;; connection timed out; no servers could be reached



Please help me to solved my problems, im sory if my word disorderly, because i newbie. please help me.
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
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
ISPConfig3 mail doesn't work pehden Installation/Configuration 20 9th December 2013 15:05
ISPConfig3 mail doesn't work Marr General 6 1st September 2010 10:32
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 17:59
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 14:58
Webmail Relay Error palkat General 17 23rd April 2006 19:12


All times are GMT +2. The time now is 16:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.