LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-24-2012, 09:24 AM   #1
sanjay87
Member
 
Registered: Oct 2011
Posts: 164

Rep: Reputation: Disabled
nslookup error in ubuntu 10.04


Hi

Quote:
i had configure dns in my ubuntu machine but it does int resolving nslookup .I had tried out all possible chages to resolve the nslookup but still im getting out same error.Can any one help me.since these the first time im trying out my dns in ubuntu machine.

root@ubuntu:~# cd /etc/bind/
bind.keys db.empty named.conf.default-zones
db.0 db.etls.com named.conf.local
db.127 db.local named.conf.options
db.255 db.root rndc.key
db.192 named.conf zones.rfc1918
root@ubuntu:~# cd /etc/bind/
root@ubuntu:/etc/bind# ls
bind.keys db.255 db.etls.com named.conf named.conf.options
db.0 db.192 db.local named.conf.default-zones rndc.key
db.127 db.empty db.root named.conf.local zones.rfc1918
root@ubuntu:/etc/bind# cat named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// 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";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
root@ubuntu:/etc/bind# cat named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// 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";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
root@ubuntu:/etc/bind# cat named.conf.default-zones
// 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";
};


root@ubuntu:/etc/bind# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
127.0.1.1 ubuntu
192.168.1.5 beet.etls.com beet

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
root@ubuntu:/etc/bind# cat /etc/resolv
cat: /etc/resolv: No such file or directory
root@ubuntu:/etc/bind# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver xxx.xx.136.67
nameserver xxx.xx.144.67
root@ubuntu:/etc/bind# dig beet.etls.com

; <<>> DiG 9.7.0-P1 <<>> beet.etls.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 43689
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;beet.etls.com. IN A

;; AUTHORITY SECTION:
etls.com. 9950 IN SOA ns.domainnetwork.se. hostmaster.melbourneitcbs.com. 2011092801 21600 3600 2419200 86400

;; Query time: 34 msec
;; SERVER: xxx.xx.136.67#53(xxx.xx.136.67)
;; WHEN: Fri Feb 24 19:49:22 2012
;; MSG SIZE rcvd: 113

root@ubuntu:/etc/bind# dig 192.168.1.5

; <<>> DiG 9.7.0-P1 <<>> 192.168.1.5
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 44215
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;192.168.1.5. IN A

;; AUTHORITY SECTION:
. 10800 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2012022400 1800 900 604800 86400

;; Query time: 65 msec
;; SERVER: xxx.xx.136.67#53(xxx.xx.136.67)
;; WHEN: Fri Feb 24 19:49:34 2012
;; MSG SIZE rcvd: 105

root@ubuntu:/etc/bind# nslookup beet.etls.com
Server: xxx.xx.136.67
Address: xxx.xx.136.67#53

** server can't find beet.etls.com: NXDOMAIN

Last edited by sanjay87; 02-24-2012 at 09:56 AM.
 
Old 02-24-2012, 10:07 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
Where's the bit where you're actually talking to THIS bind instance? your dig and resolv.conf shows you are using "xxx.xx.136.67" but we've no idea what that system is.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nslookup!!! Please look up!!! anishkumarv Linux - Newbie 1 04-28-2011 01:22 AM
no ip from nslookup Tom Douglas Linux - Server 4 01-01-2008 04:47 PM
Nslookup redhatlover Red Hat 3 05-08-2004 08:25 AM
nslookup ninen Linux - Software 1 05-23-2003 09:07 PM
NSlookup Nezar Linux - Networking 1 08-05-2001 04:43 AM


All times are GMT -5. The time now is 12:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration