Question : Problem: Public DNS Settings

I am using CentOS5.1 and and bind 9.3.4. My DNS resolves the local zones that i have created for my LAN users. but i want to host a domain rise.org.pk on my public DNS.  I have added the following for in my named.conf

view "internal" {

        match-clients { 192.168.0.0/24; };
        recursion yes;

        zone "saifurrab.com" IN {
           type master;
           file "saifurrab.com.zone";
        };
};

key  ddns_key
{
        algorithm hmac-md5;
        secret "42ouxHpunBaoYc7tuuCv0PY69KXHUdkLecq5ppEOF6loFwRAh881bNgKmqiD";
};


view "external" {
        match-clients { any; };
        recursion no;

        zone "rise.org.pk" IN {
           type master;
           file "rise.org.pk.zone";
        };
};

And Zone file is like this.  I have opend TCP and UDP 53 ports for DNS. Please help me i am not able to resolve rise.org.pk

Saif
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
$TTL    86400
$ORIGIN rise.org.pk.
@               IN SOA  rise.org.pk. saif.rise.org.pk. (
                                        44              ; serial (d. adams)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum
                       IN NS              rise.org.pk.
                       IN MX    10     mail.rise.org.pk.
                       IN A               124.xxx.xxx.x
ns1                 IN A               124.xxx.xxx.x
www               IN A               124.xxx.xxx.x
ftp                   IN A               124.xxx.xxx.x
mail                IN A               124.xxx.xxx.x
Open in New Window Select All

Answer : Problem: Public DNS Settings

Can you post the options section of your named.conf configuration?
The error is because the query is being refused by your server.  Do you have an allow-query {any;};
or do you have:
allow-query {192.168.0.0/24; 127.0.0.0/24;};
The other problem is that you have two Name servers listed on the record, but only one (.3) is answering requests.
Random Solutions  
 
programming4us programming4us