Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
thx to bastard23 for helping me resolving my problem. so now, i have my local dns also forwarding to external requests!
But now, another problem occurs:
on the machine running bind, i have 2 nics, serving 2 subnets:
and i would like to make dns for both.
so i did:
1 file gwch.net.db for my forward-zone
1 file 0.10.db for my reverse-zone on the 10.0.0.0 net
1 file 168.192.db for my reverse-zone on the 192.168.0.0 net
so, i inserted it to named.conf (no problem)
but if i start named.conf, the following error occurs:
Aug 14 10:11:33 trinity /usr/sbin/named: dns_master_load: 168.192.db:11: 0.168.192.in-addr.arpa: not at top of zone
Aug 14 10:11:33 trinity /usr/sbin/named: dns_zone_load: zone 168.192.in-addr.arpa/IN: loading master file 168.192.db: not at top of zone
Does anybody know what this means? is there a problem having the 2nd reverse zone?
here my gwch.net.db
trinity:/var/named # more gwch.net.db
$TTL 86400 ; 1 day
gwch.net. IN SOA trinity.gwch.net. root.trinity.gwch.net. (
morpheus A 10.0.0.1
trinity A 10.0.0.2
connect A 192.168.0.1
trinity A 192.168.0.100
link A 192.168.0.101
www CNAME link.gwch.net.
here my 0.10.db
trinity:/var/named # more 0.10.db
0.0.10.in-addr.arpa IN SOA trinity.gwch.net. root.trinity.gwch.net. (
1 PTR morpheus.gwch.net.
2 PTR trinity.gwch.net.
here my 168.192.db
trinity:/var/named # more 168.192.db
0.168.192.in-addr.arpa IN SOA trinity.gwch.net. root.trinity.gwch.net. (
1 PTR connect.gwch.net.
100 PTR trinity.gwch.net.
101 PTR link.gwch.net.
Thx for any help!!!
DNS: Bind 9
System: SuSE 8.0 *lol* on a p1/166 mhz machine....
1st. what is the output of named-checkzone ?
2nd are you possibly missing a trailing period ?
I was getting this:
# named-checkzone test.com test.zone
dns_master_load: test.zone: SOA record not at top of zone (test.com.test.com)
zone test.com/IN: loading master file test.zone: not at top of zone
Until I added a period after the second line of the zone file:
trinity:/var/named # named-checkzone gwch.net 168.192.db
dns_master_load: 168.192.db:3: ignoring out-of-zone data (0.168.192.in-addr.arpa)
dns_master_load: 168.192.db:13: ignoring out-of-zone data (22.214.171.124.in-addr.arpa)
dns_master_load: 168.192.db:14: ignoring out-of-zone data (126.96.36.199.in-addr.arpa)
dns_master_load: 168.192.db:15: ignoring out-of-zone data (188.8.131.52.in-addr.arpa)
dns_zone_load: zone gwch.net/IN: could not find NS and/or SOA records
dns_zone_load: zone gwch.net/IN: has 0 SOA records
dns_zone_load: zone gwch.net/IN: no NS records