Networking Forums

Networking Forums > Computer Networking > Linux Networking > Please help on Bind

Reply
Thread Tools Display Modes

Please help on Bind

 
 
jackliu
Guest
Posts: n/a

 
      09-06-2005, 02:51 AM
Hi all,

I have fedora 3.0(IP address 192.168.1.5) at home behind the
router(internet IP address 66.111.??.??) . I have named services on it.
it is working fine when I use internal IP address, that means every
time when I use nslookup on another box. if I set server to
192.168.1.5, it is working fine, it can resovle my own domain and
yahoo.com. but if I set server to Internet IP address(66.111.??.??), I
always got "connection timed out; no servers could be reached" error.
for sure I forward tcp/udp 53 to the fedora box. and I even try use DMZ
on the router. I also tried forward to my another windows DNS server,
it is also works. I checked named query log. indeed in has a record ,
so it must got the request, it seems reply nowhere. I tried delete/add
listen-on port 53 (192.168.1.5;66.111.??.?? .got same thing. it looks
like my named service just for my internal IP not for external. I
checked IPtables, it opened 53 to everybody.

any help are appreciated.

Jack

 
Reply With Quote
 
 
 
 
hakim
Guest
Posts: n/a

 
      09-06-2005, 09:05 AM
Hi,

Maybe you need port forwarding on your route on port 53 to the ip of
your fedora box?

Achim

 
Reply With Quote
 
Mr. Boy
Guest
Posts: n/a

 
      09-07-2005, 05:25 PM
Jack:
[ but if I set server to Internet IP address(66.111.??.??), I
always got "connection timed out; no servers could be reached" error. ]

the bind running in your F3 Box is a Cache-only dns server, is not an
authoritative domain name server, it cannot serve to an outside
network. also, you cannot use public ip address as a DNS server
address.. your ISP provider has to have a DNS server running, ask for
those addresses, also you must check /etc/resolv on the F3 box... this
should have lines like this:

nameserver 200.44.32.12
nameserver 200.44.32.13
search cantv.net

Also if you try to setup a public DNS you will need to setup different
Zones in the Bind configuration, like SOAs PTRs CNAMEs and A records..

 
Reply With Quote
 
jackliu
Guest
Posts: n/a

 
      09-07-2005, 07:26 PM
Thanks Mr. Boy,

I indeed want create my own DNS server because I have my own Domain to
need resolve. I indeed added my SOA in my named.conf file, here it is
the file:
// Default named.conf generated by install of bind-9.2.5-3
options {
directory "/var/named";
query-source address * port 53;
};
include "/etc/rndc.key";

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

/* localhost */
zone "0.0.127.in-addr.arpa" {
type master;
notify no;
file "127.0.0";
};


/* localhost.localdomain */
zone "localdomain" {
type master;
notify no;
file "localdomain";
};

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

zone "1.168.192.in-addr.arpa" IN {
type master;
file "1.168.192.rev";
};


I indeed check the /etc/resolv file . it is OK. just like I said, it
seems everything is OK if I point my resolve server IP address to local
address. if I point to the Internet IP address through router forward
the port. It won't

 
Reply With Quote
 
jacklrx
Guest
Posts: n/a

 
      09-15-2005, 03:01 AM

Please hel

--
jacklr
-----------------------------------------------------------------------
jacklrx's Profile: http://usenetlinux.com/member.php?userid=511
View this thread: http://usenetlinux.com/showthread.php?t=47463

 
Reply With Quote
 
Giovanni
Guest
Posts: n/a

 
      09-15-2005, 08:01 AM
On 09/07/05 21:26, jackliu wrote:
> Thanks Mr. Boy,
>
> I indeed want create my own DNS server because I have my own Domain to
> need resolve. I indeed added my SOA in my named.conf file, here it is
> the file:
> // Default named.conf generated by install of bind-9.2.5-3
> options {
> directory "/var/named";


forwarders { xxx.xxx.xxx.xxx; ....; };

Put a line with the ip addresses of remote servers where
to forward unresolved mames.

> query-source address * port 53;
> };
> include "/etc/rndc.key";
>



Ciao
Giovanni
--
A computer is like an air conditioner,
it stops working when you open Windows.
Registered Linux user #337974 <http://counter.li.org/>
 
Reply With Quote
 
 
 
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind 9.3.1 =?ISO-8859-1?Q?J=F8rn?= Dahl-Stamnes Linux Networking 2 09-29-2005 08:39 AM
Cannot bind to tcp/ip Rosman Computing Wireless Networks 1 09-23-2005 11:31 AM
BIND 9.22 Baho Utot Linux Networking 3 04-28-2005 12:00 AM
No BIND Jhuola Hoptire Linux Networking 12 01-25-2004 09:09 PM
DNS/Bind rumbera Linux Networking 2 07-12-2003 08:15 AM



1 2 3 4 5 6 7 8 9 10 11