Solved

Setup named in RH71?

Posted on 2001-09-12
2
184 Views
Last Modified: 2010-03-17
Who can give me some config file of named-9 in RH71.
- named.conf
- zone file
- rev. lookup file
I feel the named-9.1.0-10 is very hard to config.
0
Comment
Question by:kennycpu
2 Comments
 
LVL 5

Expert Comment

by:matt023
ID: 6481272
www.isc.org has some good documentation on it.
0
 
LVL 16

Accepted Solution

by:
The--Captain earned 50 total points
ID: 6481803
My bind 9.1 config looks something like:




/etc/named.conf

options {
#
# a caching only nameserver config
#
        directory "/var/named";
        listen-on { 192.168.20.1; };
        listen-on { 65.6.5.4; };
        listen-on { 127.0.0.1; };
};

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

zone "0.0.127.in-addr.arpa" {
        type master;
        file "named.local";
};

zone "example.com" {
        type master;
        file "db.example.com";
};






/var/named/named.local

$TTL    600
@       86400   IN      SOA     localhost. root.localhost.  (
                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
              IN      NS      localhost.

1       IN      PTR     localhost.






/var/named/db.example.com

$TTL    600
@       86400   IN      SOA     example.com. root.example.com.  (
                                      2001042101 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum

                IN      NS      hal.example.com.
@               IN      A       65.6.5.4
                IN      MX      1 65.6.5.3
hal             IN      A       65.6.5.3





Let me know if you need more examples.

Cheers,
-Jon

0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now