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. |
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 |
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 |
Quote:
Only if the name server allows domain transfers to you, you can do an AXFR to find CNAMEs. |
Thank you so much,
|
All times are GMT -5. The time now is 06:20 AM. |