[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.4

Query refused on bind (named)

Asked by x_terminat_or_3 in Linux Administration, Linux Networking, Domain Name Service (DNS)

Tags: bind, refused, query

Hi there

Having a huge problem and I can't figure out why this keeps happening:

dig r-nash.office.protected.com @192.168.2.2

; <<>> DiG 9.3.4 <<>> r-nash.office.protected.com @192.168.2.2
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 65269
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;r-nash.office.protected.com.   IN      A

;; Query time: 1 msec
;; SERVER: 192.168.2.2#53(192.168.2.2)
;; WHEN: Mon Mar 19 12:07:12 2007
;; MSG SIZE  rcvd: 45




I keep getting "refused" when I try to query this server from anywhere on the network, but everything works fine when I try the same query on the server that is running the BIND service.

What is causing this please? I have tried and tried and tried, but I keep getting this.

Here is my named.conf file

//
// named.caching-nameserver.conf
//
// Provided by Red Hat caching-nameserver 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.
//
// DO NOT EDIT THIS FILE - use system-config-bind or an editor
// to create named.conf - edits to this file will be lost on
// caching-nameserver package upgrade.
//
options {
        listen-on port 53 { 127.0.0.1; };
        listen-on-v6 port 53 { ::1; };
        listen-on port 53 { 192.168.2.2; };
        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";
        query-source    port 53;
        query-source-v6 port 53;
        allow-query     { any; };
};
logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};
view localhost_resolver {
        allow-query { any; };
        match-clients      { localhost; };
        match-destinations { localhost; };
        recursion yes;
        include "/etc/named.rfc1912.zones";
};


Here is my rfc zone file:

// named.rfc1912.zones:
//
// Provided by Red Hat caching-nameserver package
//
// ISC BIND named zone configuration for zones recommended by
// RFC 1912 section 4.1 : localhost TLDs and address zones
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
zone "1.168.192.IN-ADDR.ARPA." IN {
        type master;
        file "192.168.1.db";
        allow-query { any; };
};
zone "2.168.192.IN-ADDR.ARPA." IN {
        type master;
        file "192.168.2.db";
        allow-query { any; };
};
zone "office.protected.com." IN {

allow-query {
        any;
};
type master;
        file "office.protected.com.db";
};
zone "." IN {

type hint;
        file "named.ca";
};

zone "localdomain" IN {
        type master;
        file "localdomain.zone";
        allow-update { none; };
        allow-query { any; };
};

zone "localhost" IN {
        type master;
        file "localhost.zone";
        allow-update { none; };
        allow-query { any; };
};

zone "0.0.127.in-addr.arpa" IN {
        allow-query {
        any;
};
type master;
        file "named.local";
        allow-update { none; };
};

zone "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 {
        type master;
        file "named.ip6.local";
        allow-query { any; };
};

zone "255.in-addr.arpa" IN {
        type master;
        file "named.broadcast";
        allow-update { none; };
        allow-query { any; };
};

zone "0.in-addr.arpa" IN {
        type master;
        file "named.zero";
        allow-update { none; };
        allow-query { any; };
};


And here is my main zone file:

$TTL 1H
@       SOA     development     root.development (      6
                                                3H
                                                1H
                                                1W
                                                1H )
                        NS      localhost.
m-whelan        IN      1H      A       192.168.2.240
t-ward  IN      1H      A       192.168.2.20
k-rosewarne IN  1H      A       192.168.2.14
a-pieters       IN      1H      A       192.168.2.9
development     IN      1H      A       192.168.2.2
        IN      1H      A       192.168.2.2
printer IN      1H      A       192.168.2.245
b-stabb IN      1H      A       192.168.2.13

t-legg  IN      1H      A       192.168.1.5
d-walker        IN      1H      A       192.168.1.6
a-sundaram      IN      1H      A       192.168.1.7
a-cox   IN      1H      A       192.168.1.8
r-abzadeh       1H      A       192.168.1.9
a-cross IN      1H      A       192.168.1.10
m-harrison      IN      1H      A       192.168.1.11
d-carter        IN      1H      A       192.168.1.12
j-irish IN      1H      A       192.168.1.13
r-nash  IN      1H      A       192.168.1.14
printer2        IN      1H      A       192.168.1.254
phpmyadmin.development  IN      1H      CNAME   development
r-nash  IN      1H      A       192.168.1.14
admin.development       IN      1H      CNAME   development
sd.development  IN      1H      CNAME   development
cp.development  IN      1H      CNAME   development
secure.development      IN      1H      CNAME   development
client.development      IN      1H      CNAME   development
test.development        IN      1H      CNAME   development
sales.development       IN      1H      CNAME   development
support.development     IN      1H      CNAME   development
samsung IN      1H      CNAME   printer
[+][-]03/19/07 11:53 AM, ID: 18750613Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Linux Administration, Linux Networking, Domain Name Service (DNS)
Tags: bind, refused, query
Sign Up Now!
Solution Provided By: pablouruguay
Participating Experts: 1
Solution Grade: A
 
[+][-]03/19/07 06:30 AM, ID: 18747886Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/19/07 07:19 AM, ID: 18748201Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/19/07 10:15 AM, ID: 18749756Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/19/07 10:56 AM, ID: 18750137Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/19/07 11:00 AM, ID: 18750187Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/19/07 11:42 AM, ID: 18750535Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/19/07 01:17 PM, ID: 18751316Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/19/07 01:40 PM, ID: 18751519Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/20/07 07:58 AM, ID: 18756636Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/25/07 12:26 PM, ID: 18789082Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03/29/07 05:06 AM, ID: 18815221Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03/29/07 05:07 AM, ID: 18815224Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03/29/07 05:13 AM, ID: 18815250Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/29/07 06:25 AM, ID: 18815819Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03/29/07 11:33 AM, ID: 18818561Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/29/07 06:04 PM, ID: 18820941Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03/30/07 12:07 AM, ID: 18821933Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93