Results 1 to 7 of 7
Hi All,
I am getting problem while setting up my DNS
Code:
sachin@sachin-laptop:/opt/deploy$ dig some.test
; <<>> DiG 9.5.0-P2 <<>> some.test
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- ...
- 02-19-2009 #1Just Joined!
- Join Date
- Nov 2008
- Location
- PUNE
- Posts
- 72
[SOLVED] How to configure DNS settings?
Hi All,
I am getting problem while setting up my DNS
the query results nothingCode:sachin@sachin-laptop:/opt/deploy$ dig some.test ; <<>> DiG 9.5.0-P2 <<>> some.test ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 1782 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;some.test. IN A ;; Query time: 2 msec ;; SERVER: 192.168.0.100#53(192.168.0.100) ;; WHEN: Thu Feb 19 12:33:15 2009 ;; MSG SIZE rcvd: 31

so can buddy please guide me how am i suppose to do the correct configuration?
- 02-19-2009 #2
DNS server is specified in /etc/resolv.conf, but this file gets overwritten if you're using NetworkManager (which uses DHCP) or DHCP directly for your network settings.
If you're using them, then your DNS server address will be specified by your DHCP server.
If you're using static IP address, then point your DNS setting at a valid name server using the the 'system-config-network' tool (or edit /etc/resolv.conf yourself).Linux user #126863 - see http://linuxcounter.net/
- 02-19-2009 #3Just Joined!
- Join Date
- Nov 2008
- Location
- PUNE
- Posts
- 72
Thanks for your reply

Actually i am using DHCP and i have made changes in resolve.cfg as well but even though i get no result
the file look like this
Any idea ?Code:#file present in /etc search some.test domain some.test nameserver 192.168.0.10
- 02-19-2009 #4
Are you trying to run you own DNS server? If not then you have to edit your configs to use your ISP's DNS servers. If you are then what type of server are you trying to setup? Cache-Only or a full DNS server? If you are trying to setup your own DNS server I would suggest searching the web there is a lot of good information out there on how to setup a DNS server. Remember this is not a small task. A lot of reading is required to fully understand what you are doing. Start with the Redhat Documentation for setting up a DNS server.
- 02-19-2009 #5Just Joined!
- Join Date
- Feb 2009
- Posts
- 54
- 02-20-2009 #6Just Joined!
- Join Date
- Nov 2008
- Location
- PUNE
- Posts
- 72
Thanks guys for your replies
I have a SERVER running on 192.168.0.100
Here is the complete scenario of what i am doing
when i see my daemon.log file i see some problems in it
these are
name.cfg fileCode:Feb 20 12:02:45 sachin-laptop named[6995]: zone 0.in-addr.arpa/IN: loaded serial 1 Feb 20 12:02:45 sachin-laptop named[6995]: zone 127.in-addr.arpa/IN: loaded serial 1 Feb 20 12:02:45 sachin-laptop named[6995]: /etc/bind/pri/db.192:1: unknown RR type 'present' Feb 20 12:02:45 sachin-laptop named[6995]: zone 192.in-addr.arpa/IN: loading from master file /etc/bind/pri/db.192 failed: unknown class/type Feb 20 12:02:45 sachin-laptop named[6995]: zone 255.in-addr.arpa/IN: loaded serial 1 Feb 20 12:02:45 sachin-laptop named[6995]: zone localhost/IN: loaded serial 2 Feb 20 12:02:45 sachin-laptop named[6995]: /etc/bind/pri/open-ims.dnszone:1: unknown RR type 'present' Feb 20 12:02:45 sachin-laptop named[6995]: zone open-ims.test/IN: loading from master file /etc/bind/pri/open-ims.dnszone failed: unknown class/type Feb 20 12:02:45 sachin-laptop named[6995]: running
Code:// Please read /usr/share/doc/bind9/README.Debian.gz for information on the // structure of BIND configuration files in Debian, *BEFORE* you customize // this configuration file. // // If you are just adding zones, please do that in /etc/bind/named.conf.local include "/etc/bind/named.conf.options"; // prime the server with knowledge of the root servers zone "." { type hint; file "/etc/bind/db.root"; }; // be authoritative for the localhost forward and reverse zones, and for // broadcast zones as per RFC 1912 zone "localhost" { type master; file "/etc/bind/db.local"; }; zone "127.in-addr.arpa" { type master; file "/etc/bind/db.127"; }; zone "0.in-addr.arpa" { type master; file "/etc/bind/db.0"; }; zone "255.in-addr.arpa" { type master; file "/etc/bind/db.255"; }; include "/etc/bind/named.conf.local";
named.conf.local
db.192Code://file present in /etc/bind // // Do any local configuration here // // Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; zone "open-ims.test" IN { type master; file "/etc/bind/pri/open-ims.dnszone"; }; zone "192.in-addr.arpa" { type master; file "/etc/bind/pri/db.192"; };
open-ims.dsnzoneCode://file present in /etc/bind ; ; BIND reverse data file for local loopback interface ; $TTL 604800 @ IN SOA open-ims.test. root.open-ims.test. ( 4 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ); Negative Cache TTL ; @ IN NS open-ims.test. 100.0.168 IN PTR open-ims.test. 100.0.168 IN PTR open-ims.test 100.0.168 IN PTR pcscf 100.0.168 IN PTR icscf 100.0.168 IN PTR scscf 100.0.168 IN PTR hss 100.0.168 IN PTR ue 100.0.168 IN PTR presence
Code://file present in /etc/bind/pri $TTL 1W @ 1D IN SOA open-ims.test. root.open-ims.test. ( 4 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL 1D IN NS open-ims.test. @ 1D IN NS open-ims.test. @ 1D IN A 192.168.0.100 ns 1D IN A 192.168.0.100 pcscf 1D IN A 192.168.0.100 open-ims.test. 1D IN A 192.168.0.100 icscf 1D IN A 192.168.0.100 scscf 1D IN A 192.168.0.100 hss 1D IN A 192.168.0.100 ue 1D IN A 192.168.0.100 presence 1D IN A 192.168.0.100 _sip 1D SRV 0 0 5060 icscf _sip._udp 1D SRV 0 0 5060 icscf _sip._tcp 1D SRV 0 0 5060 icscf open-ims.test. 1D IN NAPTR 10 50 "s" "SIP+D2U" "" _sip._udp open-ims.test. 1D IN NAPTR 20 50 "s" "SIP+D2T" "" _sip._tcp
let me know if any other details require
- 02-20-2009 #7Just Joined!
- Join Date
- Nov 2008
- Location
- PUNE
- Posts
- 72
I managed to resolve the problem thanks all for your support



