LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack Search this Thread
Old 09-08-2009, 04:19 AM   #1
sci3ntist
Member
 
Registered: Dec 2006
Distribution: Debian,Slackware,FreeBSD,CentOS,Red Hat,Windows Server 2008
Posts: 133

Rep: Reputation: 16
CNAME records


Hello,
I have a problem in querying a CNAME record.

sci3ntist@sci3ntist-laptop:~$ nslookup
> set q=cname
> film.jo
Server: 192.168.1.1
Address: 192.168.1.1#53

Non-authoritative answer:
*** Can't find film.jo: No answer

Authoritative answers can be found from:
film.jo
origin = ns1.dot.jo
mail addr = hkhayyat.dot.jo
serial = 2009080925
refresh = 10800
retry = 3600
expire = 604800
minimum = 86400
> autodiscover.film.jo
Server: 192.168.1.1
Address: 192.168.1.1#53

Non-authoritative answer:
autodiscover.film.jo canonical name = autodiscover.outlook.com.

Authoritative answers can be found from:
film.jo nameserver = ns1.dot.jo.
film.jo nameserver = ns2.dot.jo.
ns1.dot.jo internet address = 207.210.211.118
ns2.dot.jo internet address = 207.210.208.138


http://www.ops.ietf.org/lists/namedr.../msg02244.html

I really Can't figure out if I have to query about the cname do I type nslookup => set q=cname => film.jo

or as mentioned in the link above? Since the hosting company I deal with says that there is a valid cname and I'm confused about it.

Thanks in advance.
 
Old 09-08-2009, 04:44 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,772

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
I advise you to use dig for your lookups since nslookup is deprecated. In fact the link you've mentioned is from 1995!!
Code:
dig cname autodiscover.film.jo
 
1 members found this post helpful.
Old 09-08-2009, 04:51 AM   #3
sci3ntist
Member
 
Registered: Dec 2006
Distribution: Debian,Slackware,FreeBSD,CentOS,Red Hat,Windows Server 2008
Posts: 133

Original Poster
Rep: Reputation: 16
you mean to query the cname you have to specify autodiscover.film.jo not film.jo unlike MX record. Am I right?


sci3ntist@sci3ntist-laptop:~$ dig cname autodiscover.film.jo

; <<>> DiG 9.5.0-P2 <<>> cname autodiscover.film.jo
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60331
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;autodiscover.film.jo. IN CNAME

;; ANSWER SECTION:
autodiscover.film.jo. 84153 IN CNAME autodiscover.outlook.com.

;; AUTHORITY SECTION:
film.jo. 8676 IN NS ns2.dot.jo.
film.jo. 8676 IN NS ns1.dot.jo.

;; ADDITIONAL SECTION:
ns1.dot.jo. 12037 IN A 207.210.211.118
ns2.dot.jo. 2587 IN A 207.210.208.138

;; Query time: 67 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Tue Sep 8 05:47:04 2009
;; MSG SIZE rcvd: 148

sci3ntist@sci3ntist-laptop:~$ dig cname film.jo

; <<>> DiG 9.5.0-P2 <<>> cname film.jo
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55291
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;film.jo. IN CNAME

;; AUTHORITY SECTION:
film.jo. 8344 IN SOA ns1.dot.jo. hkhayyat.dot.jo. 2009080925 10800 3600 604800 86400

;; Query time: 56 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Tue Sep 8 05:47:21 2009
;; MSG SIZE rcvd: 78

sci3ntist@sci3ntist-laptop:~$ dig mx film.jo

; <<>> DiG 9.5.0-P2 <<>> mx film.jo
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11946
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;film.jo. IN MX

;; ANSWER SECTION:
film.jo. 8517 IN MX 10 423164467.mail.outlook.com.

;; AUTHORITY SECTION:
film.jo. 8517 IN NS ns1.dot.jo.
film.jo. 8517 IN NS ns2.dot.jo.

;; ADDITIONAL SECTION:
ns1.dot.jo. 11878 IN A 207.210.211.118
ns2.dot.jo. 2428 IN A 207.210.208.138

;; Query time: 23 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Tue Sep 8 05:49:42 2009
;; MSG SIZE rcvd: 139
 
Old 09-08-2009, 05:29 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,772

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
Quote:
you mean to query the cname you have to specify autodiscover.film.jo not film.jo unlike MX record. Am I right?
Yes you have to specify a FQDN to find if it's a CNAME. As for MX and NS, they are special RRs for a domain that's why you can query for them using the domain name.
Only if the name server allows domain transfers to you, you can do an AXFR to find CNAMEs.
 
1 members found this post helpful.
Old 09-08-2009, 05:38 AM   #5
sci3ntist
Member
 
Registered: Dec 2006
Distribution: Debian,Slackware,FreeBSD,CentOS,Red Hat,Windows Server 2008
Posts: 133

Original Poster
Rep: Reputation: 16
Thank you so much,
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading caller detail records(CDR ) records eliufoo Linux - Networking 2 12-16-2008 11:31 PM
Email configuration -CNAME records - on server File.am Linux - Server 2 10-19-2007 08:18 AM
DNS Zone Records - MX Records ddzc Linux - Software 8 05-24-2007 01:26 PM
1+0 records in how to disiable in DD command "1+0 records out" Kotresh Linux - Software 3 03-08-2007 08:57 AM
Do we really need CNAME records in DNS? ivj Linux - Networking 3 05-19-2006 03:49 PM


All times are GMT -5. The time now is 04:14 PM.

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