#21  
Old 28th September 2010, 03:59
Alertshot Alertshot is offline
Junior Member
 
Join Date: Sep 2010
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Exclamation i changed named.conf to listen any and query any

Hi falko,
I had changed named.conf to listen any and query any can please verify whether my changes are correct,
[root@zambahotels ~]# cat /etc/named.conf
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
listen-on port 53 { 127.0.0.1; any; };
listen-on-v6 port 53 { ::1; any; };
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; any; };
recursion yes;

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

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

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

zone "." IN {
type hint;
file "named.ca";
};

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

include "/etc/named.conf.local";

now dig @ns1.zambahotels.com any harmoneehotels.com is ok and the output as follows,
[root@zambahotels ~]# dig @ns1.zambahotels.com any harmoneehotels.com

; <<>> DiG 9.7.1-P2-RedHat-9.7.1-2.P2.fc13 <<>> @ns1.zambahotels.com any harmoneehotels.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3645
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;harmoneehotels.com. IN ANY

;; ANSWER SECTION:
harmoneehotels.com. 86400 IN SOA ns1.zambahotels.com. info.harmoneehotels.com. 2010092503 28800 7200 604800 86400
harmoneehotels.com. 86400 IN A 203.117.114.181
harmoneehotels.com. 86400 IN MX 10 mail.harmoneehotels.com.
harmoneehotels.com. 86400 IN NS ns1.zambahotels.com.

;; ADDITIONAL SECTION:
mail.harmoneehotels.com. 86400 IN A 203.117.114.181

;; Query time: 0 msec
;; SERVER: 203.117.114.179#53(203.117.114.179)
;; WHEN: Tue Sep 28 21:46:38 2010
;; MSG SIZE rcvd: 160

but when try to view the www.harmoneehotels.com using a web browser it states that "Unable to connect
Firefox can't establish a connection to the server at www.harmoneehotels.com. "

so i try to restart my httpd and the following are the output for /etc/init.d/httpd restart
[root@zambahotels ~]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Tue Sep 28 21:49:56 2010] [warn] NameVirtualHost 203.117.114.181:443 has no VirtualHosts
[Tue Sep 28 21:49:56 2010] [warn] NameVirtualHost 203.117.114.179:80 has no VirtualHosts
[Tue Sep 28 21:49:56 2010] [warn] NameVirtualHost 203.117.114.179:443 has no VirtualHosts
[Tue Sep 28 21:49:56 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
[ OK ]
so help me dude!!!
Reply With Quote
Sponsored Links
  #22  
Old 28th September 2010, 13:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by Alertshot View Post
but when try to view the www.harmoneehotels.com using a web browser it states that "Unable to connect
Firefox can't establish a connection to the server at www.harmoneehotels.com. "
I can connect without problems.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
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
Postfix queue problem? murunix Server Operation 7 2nd May 2011 01:55
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 21:12
Proftpd LIST permission Problem HugofromBOSS HOWTO-Related Questions 2 23rd May 2008 13:36
i am having some problem ? cobro Installation/Configuration 20 30th April 2008 16:26
help on /etc/rc0.d/K20dnsctl -> ../init.d/dnsctl zimele General 13 23rd August 2006 16:06


All times are GMT +2. The time now is 04:38.


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