SO far I have been unable to setup BIND on my Red Hat 8 box . It just doesn;t work . I have read a number of tutorials and have followed the same steps but so far it hasn;t work . When I nslookup <domain > ,it goes to a sleep and I have to ctrl+z the process .
Any clues to what might be wrong .
and does REd Hat 8.0,9.0 hava any issues/problems related to compiling. Is 7.3 better ?
BIND
-
- Lieutenant Colonel
- Posts: 660
- Joined: Sat Jul 06, 2002 12:35 pm
- Location: Islamabad
- Contact:
well i had some problems setting up bind on redhat 8.0. in the end it turned out to be all my faults. be sure that you edit resolv.conf and set your nameserver address there. also check if the dns entries are proper in the zone file. use this command if u have a zone named zaeem.com with a forward zone file named zaeem.com.zone
named-checkconf zaeem.com /var/named/zaeem.com.zone
this should tell you that if your file works or not. mostly its either a missing ending parentheses after serial and expire values or a missing dns name server's ip address entry. it will help if you post ur named.conf and ur zone file(a small version of it) on the forum.
regards
zaeem
named-checkconf zaeem.com /var/named/zaeem.com.zone
this should tell you that if your file works or not. mostly its either a missing ending parentheses after serial and expire values or a missing dns name server's ip address entry. it will help if you post ur named.conf and ur zone file(a small version of it) on the forum.
regards
zaeem
Re: BIND
read http://www.isc.org/products/BIND/docs/c ... gging.html
set up your named.conf to do a lot of logging, and check the logs for errors.
set up your named.conf to do a lot of logging, and check the logs for errors.
Solution, How to configure BIND
Asalaam o Alikum
I hope this will finds you in best of health. Solution regarding to BIND in linux 8.0 is mentioned as below: -
Forward DNS
# vi /etc/named.conf
zone “daberkar.com” IN {
type master;
file “daberkar.com.zone”;
allow-update {any;};
};
<save file>
# vi /var/named/daberkar.com.zone
TTL 86400
@ IN SOA @ root.suhail.daberkar.com (
42; serial
15M; retry
1W; expiry
1D minimum
)
@ IN NS suhail.daberkar.com.
suhail IN A 192.168.0.1
client IN A 192.168.0.2
Reverse DNS
# vi /etc/named.conf
zone “0.168.192.in-addr.arpa” IN {
type master;
file “0.168.192.in-addr.arpa.zone”;
allow-update {any;};
};
<save file>
# vi /var/named/0.168.192.in-addr.arpa.zone
TTL 86400
@ IN SOA @ root.suhail.daberkar.com (
42; serial
15M; retry
1W; expiry
1D minimum
)
@ IN NS suhail.daberkar.com.
suhail IN PTR suhail.daberkar.com.
client IN PTR client.daberkar.com.
# vi /etc/resolv.conf
domain suhail.daberkar.com
---------- ---------- -------
It is 101% functional at my side, try this at your end. Inshallah it will works !!!!!!!!!!!!!
Daberkar
I hope this will finds you in best of health. Solution regarding to BIND in linux 8.0 is mentioned as below: -
Forward DNS
# vi /etc/named.conf
zone “daberkar.com” IN {
type master;
file “daberkar.com.zone”;
allow-update {any;};
};
<save file>
# vi /var/named/daberkar.com.zone
TTL 86400
@ IN SOA @ root.suhail.daberkar.com (
42; serial
15M; retry
1W; expiry
1D minimum
)
@ IN NS suhail.daberkar.com.
suhail IN A 192.168.0.1
client IN A 192.168.0.2
Reverse DNS
# vi /etc/named.conf
zone “0.168.192.in-addr.arpa” IN {
type master;
file “0.168.192.in-addr.arpa.zone”;
allow-update {any;};
};
<save file>
# vi /var/named/0.168.192.in-addr.arpa.zone
TTL 86400
@ IN SOA @ root.suhail.daberkar.com (
42; serial
15M; retry
1W; expiry
1D minimum
)
@ IN NS suhail.daberkar.com.
suhail IN PTR suhail.daberkar.com.
client IN PTR client.daberkar.com.
# vi /etc/resolv.conf
domain suhail.daberkar.com
---------- ---------- -------
It is 101% functional at my side, try this at your end. Inshallah it will works !!!!!!!!!!!!!
Daberkar
Suhail Tariq Moughal
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear All PLUCian's
Salam,
Configuring Bind
Step 1:
Verify that you had installed Bind and cacheing-server pakages.
# rpm -q bind-*.*.rpm
# rpm -q chacheing-server.*.*.rpm
Step 2:
Edit your /etc/named.conf file and add entries for your ip address and for your domains..
zone "0.168.192.in-addr.arpa" IN {
type master;
file "0.168.192.in-addr.arpa.zone";
allow-update { none; };
};
zone "example.com" IN {
type master;
file "example.zone";
allow-update { none; };
};
Save the File.
Step 3:
Create Files 0.168.192.in-addr.arpa.zone and example.zone and example.rev
# touch /var/named/0.168.192.in-addr.arpa.zone
# touch /var/named/example.zone
# touch /var/named/example.rev
Edit One by one File
# vi 0.168.192.in-addr.arpa.zone
TTL 86400
@ IN SOA @ root.localhost. (
42; Serial
15M; Retry
1W; Expiry
1D; Minimum
)
@ IN NS root.localhost.
Save the File and Edit Example.zone
# vi example.zone
TTL 86400
@ IN SOA root.example.com. (
42; Serial
15M; Retry
1W; Expiry
1D; Minimum
)
@ IN NS root.example.com.
www IN PTR www.example.com.
ftp IN PTR ftp.example.com.
mail IN PTR mail.example.com.
Save the File and edit example.rev
# vi example.rev
TTL 86400
@ IN SOA root.example.com. (
42; Serial
15M; Retry
1W; Expiry
ID; Minimum
)
@ IN NS root.example.com.
www IN A 192.168.0.1
ftp IN A 192.168.0.2
mail IN A 192.168.03
Save the File and Edit your /etc/resolve.conf
# vi /etc/resolve.conf
nameserver 192.168.0.1
domain example.com
Save the File and Start the Service.
# /etc/rc.d/init.d/named start
Hope it will Work Fine. you can also check this out www.server-resources.com
Best Regards.
Salam,
Configuring Bind
Step 1:
Verify that you had installed Bind and cacheing-server pakages.
# rpm -q bind-*.*.rpm
# rpm -q chacheing-server.*.*.rpm
Step 2:
Edit your /etc/named.conf file and add entries for your ip address and for your domains..
zone "0.168.192.in-addr.arpa" IN {
type master;
file "0.168.192.in-addr.arpa.zone";
allow-update { none; };
};
zone "example.com" IN {
type master;
file "example.zone";
allow-update { none; };
};
Save the File.
Step 3:
Create Files 0.168.192.in-addr.arpa.zone and example.zone and example.rev
# touch /var/named/0.168.192.in-addr.arpa.zone
# touch /var/named/example.zone
# touch /var/named/example.rev
Edit One by one File
# vi 0.168.192.in-addr.arpa.zone
TTL 86400
@ IN SOA @ root.localhost. (
42; Serial
15M; Retry
1W; Expiry
1D; Minimum
)
@ IN NS root.localhost.
Save the File and Edit Example.zone
# vi example.zone
TTL 86400
@ IN SOA root.example.com. (
42; Serial
15M; Retry
1W; Expiry
1D; Minimum
)
@ IN NS root.example.com.
www IN PTR www.example.com.
ftp IN PTR ftp.example.com.
mail IN PTR mail.example.com.
Save the File and edit example.rev
# vi example.rev
TTL 86400
@ IN SOA root.example.com. (
42; Serial
15M; Retry
1W; Expiry
ID; Minimum
)
@ IN NS root.example.com.
www IN A 192.168.0.1
ftp IN A 192.168.0.2
mail IN A 192.168.03
Save the File and Edit your /etc/resolve.conf
# vi /etc/resolve.conf
nameserver 192.168.0.1
domain example.com
Save the File and Start the Service.
# /etc/rc.d/init.d/named start
Hope it will Work Fine. you can also check this out www.server-resources.com
Best Regards.
Farrukh Ahmed
Re: BIND
control-z? that only suspends the process. why are you using that instead of control-c?asim wrote:When I nslookup <domain > ,it goes to a sleep and I have to ctrl+z the process .
stick with the latest releases. get 9 if you want to use redhat.and does REd Hat 8.0,9.0 hava any issues/problems related to compiling. Is 7.3 better ?
Easy BIND configuration HOWTO
Assalam o Alaikum
BIND can be configured to speed up your Net browsing speed
by making it as a caching name server. You can also make it
your full fledge DNS server, for your organization or home PC,
in which you can have your own domains like mylinux.pk, for
example. But to configure BIND, for simple use, it is best to
follow this excellent HOWTO;
http://www.ibiblio.org/pub/Linux/docs/H ... tml.tar.gz
In it you can find a sample domain example also.
Enjoy Linux
Allah Hafiz
Masood
BIND can be configured to speed up your Net browsing speed
by making it as a caching name server. You can also make it
your full fledge DNS server, for your organization or home PC,
in which you can have your own domains like mylinux.pk, for
example. But to configure BIND, for simple use, it is best to
follow this excellent HOWTO;
http://www.ibiblio.org/pub/Linux/docs/H ... tml.tar.gz
In it you can find a sample domain example also.
Enjoy Linux
Allah Hafiz
Masood