08-14-2008
BIND problem in Fedora Core
Hi ,
I am facing a strange with BIND in Fedora Core 6. Here is the config for more info.
#cat /etc/named.caching-nameserver.conf
options {
listen-on port 53 { any; };
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; };
allow-transfer { 192.168.0.0/24; };
listen-on { any; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view localhost_resolver {
match-clients { localhost; };
match-destinations { localhost; };
recursion yes;
include "/etc/named.rfc1912.zones";
};
#cat /etc/named.rfc1912.zones
zone "." IN {
type hint;
file "named.ca";
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "example.com" IN {
type master;
file "example.com.zone";
allow-update { none; };
allow-transfer { any; };
};
zone "10.168.192.in-addr.arpa" IN {
type master;
file "10.168.192.in-addr.arpa.zone";
allow-update { none; };
allow-transfer { any; };
};
#cat /var/named/chroot/var/named/10.168.192.in-addr.arpa.zone
$TTL 86400
@ IN SOA @ example.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS example.com.
8 IN PTR backup.example.com.
2 IN PTR ftp.example.com.
# cat /var/named/chroot/var/named/example.com.zone
$TTL 86400
@ IN SOA @ example.com. (
42 ; serial
28800 ; refresh (8 hours)
7200 ; retry (2 hours)
604800 ; retire (1 week)
86400 ; ttl (1 day)
)
@ IN NS example.com.
backup IN A 192.168.10.8
ftp IN A 192.168.10.2
# cat /etc/resolv.conf
nameserver localhost
-------------------------------
When i try to use nslookup or dig or host in localhost, it will resolve domain names properly.
ex. #nslookup ftp.example.com
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: ftp.example.com
Address: 192.168.10.2
and When i try to use nslookup from the linux clinet machine, It shows me below error.
#nslookup ftp.example.com
Server: 192.168.10.8
Address: 192.168.10.8#53
** server can't find ftp.example.com: REFUSED
Here is the output from windows pc.
C:\>nslookup ftp.example.com
Server: 192.168.10.8
Address: 192.168.10.8:53
*** UnKnown can't find ftp.example.com: Query refused
I have googled regrading this issue but nothing worked out. Please suggest me to solve this problem.
10 More Discussions You Might Find Interesting
1. Linux
I've been using FC2, but my sound card doesn't work
I'm new with linux systems..
but there says that needs to recompile kernel
how can i do it with a kernel 2.6.5 i386 ?
by the way,. my sound card chipset is an ESS 1869F, with a compaq deskpro Smal Form Factor. but i have not found a... (4 Replies)
Discussion started by: Quake
4 Replies
2. Linux
Lucky me...someone's trying to hack into my mythtv box through ssh. Can I make a policy or something similar to refuse connections from a specific IP after a certain amount of failed logins?
attached is some of the output from /var/log/messages (2 Replies)
Discussion started by: dangral
2 Replies
3. Linux
Hiya all,
Hope you can help.
I keep getting the same Error message when I try to install. I have tried several different Diskettes. And I finally ordered CDs from "FASTDISCs". The install "disc Checks" passed fine on these.
The error:
"The package usbitils-0.11.6.1 cannot be opened. ... (8 Replies)
Discussion started by: marty 600
8 Replies
4. Linux
in fedora core 2 with enforcing mode in selinux , why even as a root OS doesnt give permission to create any directory or file in /home ? (1 Reply)
Discussion started by: the.last.soul
1 Replies
5. Linux
I'm pretty much new to this Linux stuff, I installed FC4 the other night to try it out.
I'm having a slight problem when launching Quake 3, it's giving me the error GLimp_Init() - could not load OpenGL subsystem
I've updated my video drivers to the latest version and went through fglrxconfig,... (3 Replies)
Discussion started by: Filth Pig
3 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I am about to install Fedora on a partition on my hard drive. I got the CD from a magazine and it isnt a LiveCD so the magazine says "fedora core installer isn't a LiveCD, so it will merrily destroy your primary partition when you install on your machine", now I'm guessing the primary... (1 Reply)
Discussion started by: ArkNia
1 Replies
7. Linux
Hi all,
I'm experiencing a problem with Fedora Core 4, by which I don't know how to export a directory exclusively in NFSv3.
I have two raid arrays "/dev/md0" and "/dev/md1" both to be visible to SGI machines via NFSv3...
My situation is that Fedora runs NFSv4 and that causes problems with the... (0 Replies)
Discussion started by: spaceace13666
0 Replies
8. Linux
hi all
i am currently using fedora core 3 . i downloaded the iso image of fedora core 6 but after installing the fedora core 6 . while starting linux it gives a error saying init is been killed .
wht is happened?
thank u (3 Replies)
Discussion started by: nageshrk
3 Replies
9. Linux
hi i dont know much about linux but my boss gave me a job to backup all the mysql database and tables from fedora core4 running as web/database server. i can enter in fedora using remote desktop from my laptop but after that i am unable to do anything. if any one can help me in finding mysql and... (3 Replies)
Discussion started by: obstinate
3 Replies
10. Red Hat
A problem with binding to local ports (22,23,80) in Fedora 13.
Ports look not used. sshd, webserver is not running.
I am using java remote connection manager. It is working fine with IE or Firefox in Windows with any user account.
With Fedora 13, it starts via Firefox with not root account and... (0 Replies)
Discussion started by: gogogo
0 Replies