My mistake :o
I forgot the named service never started so you won't get any output. |
Alhumdulillah!
So nice of you dear. After disabling selinux, named service started atlast! Thanks a lot to both of you! now I am going ahead in DNS configuration if I find difficult I will come back here. |
@deep27ak
Quote:
@OP Disable SELinux temporarily, to verify that it's the culprit If you have used yum to install bind related stuff, you shouldn't have such problems |
I have another query:
When I have two separately connected PCs with each other under domain example.com Where PC1 192.168.1.91 is dns server and PC2 192.168.1.93 is its client, they can dig, nslookup each other with name and IP both. But when I Put PC1 (DNS server) on our LAN then no any client able to dig via this dns server. LAN snacerio: DSL router: 192.168.1.1 (itself is a DNS server for internet provided by PTCL internet provider) 192.168.1.2 to onwards we have clients. Now both PC1 and PC2 are on this local net. I have defined in client /etc/resolv.conf search example.conf nameserver 192.168.1.91 # DNS for local net nameserver 192.168.1.1 # dns for internet clients can ping www.google.com but can't dig or ping client1.example.com. |
Quote:
Yes when I disable SELinux it works, when I enable SELinux it named service doesn't start. Yes I have installed it via yum, but I faced that problem don't know why |
Quote:
Code:
named_disable_trans=1 Code:
chcon -R system_u:object_r:named_cache_t /var/named/chroot/var/named/data Regards |
I have another query:
When I have two separately connected PCs with each other under domain example.com Where PC1 192.168.1.91 is dns server and PC2 192.168.1.93 is its client, they can dig, nslookup each other with name and IP both. But when I Put PC1 (DNS server) on our LAN then no any client able to dig via this dns server. LAN snacerio: DSL router: 192.168.1.1 (itself is a DNS server for internet provided by PTCL internet provider) 192.168.1.2 to onwards we have clients. Now both PC1 and PC2 are on this local net. I have defined in client /etc/resolv.conf search example.conf nameserver 192.168.1.91 # DNS for local net nameserver 192.168.1.1 # dns for internet clients can ping www.google.com but can't dig or ping client1.example.com. |
Quote:
BTW, you have an error in /etc/resolv.conf. It should read: Code:
search example.com |
Quote:
|
divya
HI friends,
* If you find error in named configuration file (master file not loaded, named.conf not found) make sure Did you create the named.conf in proper location. Actual location is "/var/named/chroot/etc/named.conf" If you are not created in this location please move named.conf to this location, then try to start named service. |
Quote:
You need to make sure which bind rpm are you using for BIND configuration. Verify the logs properly as it would give more information about the error before taking any step. |
HI
Ya i used to install bind* (bind-chroot) package
|
please tell me what worng with my configuration dns centos ?? huhu
Error in named configuration:
zone belogix.com/IN: loaded serial 2011071001 dns_rdata_fromtext: /var/named/reverse.belogix.com:8: near eol: unexpected end of input zone 0.168.192.in-addr.arpa/IN: loading from master file /var/named/reverse.belogix.com failed: unexpected end of input zone 0.168.192.in-addr.arpa/IN: not loaded due to errors. _default/0.168.192.in-addr.arpa/IN: unexpected end of input zone localhost.localdomain/IN: loaded serial 0 zone localhost/IN: loaded serial 0 zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0 zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0 zone 0.in-addr.arpa/IN: loaded serial 0 [FAILED] |
@nanasupriatna0902
Please start you own thread giving more details about your problem. Especially post the /var/named/reverse.belogix.com zonefile, as it's the one that has errors: Quote:
|
All times are GMT -5. The time now is 12:57 AM. |