The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-16-2008
Registered User
 

Join Date: Oct 2007
Posts: 51
DNS truble

OS on all PC RHEL 5.1
SELinux OFF
iptables OFF

Its part of named config
What here not correct? On my PC IP address 192.168.1.2
i can't ping yahoo.com and google.com etc... Not dig not host all don't work ((
In /etc/resolve.conf i'm write IP of my DNS server (192.168.1.200)
On server work this config and on server all work! I can ping and dig from my DNS server

Code:
acl "myaddresses" { 127.0.0.1; 192.168.1.200; };
acl "mynetwork" { 192.168.1.0/24; };

         options {
         listen-on port 53 { myaddresses; };

         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;
        allow-query           { localhost; mynetwork; };
        allow-recursion      { localhost; mynetwork; };
        allow-transfer        { localhost; mynetwork; };
        forwarders            { 168.95.1.1; };
        forward only;
};
Its netstat from my DNS server
Code:
# netstat -napt | grep 53
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 16309/named
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 16309/named
tcp 0 0 ::1:53 :::* LISTEN 16309/named
tcp 0 0 ::1:953 :::* LISTEN 16309/named
Its results from my PC

Code:
# nmap -vv 192.168.1.200
...
Interesting ports on helios.aksay.kz (192.168.1.200):
Not shown: 1690 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
111/tcp open rpcbind
755/tcp open unknown
814/tcp open unknown
842/tcp open unknown
2049/tcp open nfs
...

# dig yahoo.com @192.168.1.200

; <<>> DiG 9.5.0a6 <<>> yahoo,com @192.168.1.200
;; global options: printcmd
;; connection timed out; no servers could be reached
In where truble ? I'm set ACL right and have this fun ((( help me please why me server don't access query for my PC ((
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:57 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0