The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 !!

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-16-2008
jess_t03 jess_t03 is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 59
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 ((
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:44 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0