Around DNS (#12) - .tel webmaster (#188) - Message List
We need to show all or partial contact information of our .tel site (which can be TXT, NAPTR, LOC, Keywords, etc) on our another website, which is based on .net framework. Kindlly let us know, how to do that?
we can not use php or perl script, our site is .net based. Is there any other possibilities??
-
Message #534
Hi, Of course this is possible.
.tel data is freely available in the DNS, all you need to do is lookup data of specific types (TXT, NAPTR, LOC) in the DNS and render those items on your page.
This can be done directly using standard website programming means, or by using a C library that would read and process .tel data, see DotTelUtils library
Because you are only reading data, you do not need to use AJAX or SOAP, just do a DNS lookup.
nadya07/03/09 09:05:31-
Message #535
is there any .net related script for this purpose?
knl07/03/09 10:15:11-
Message #536
No ready embed script that I know of, sorry. If you need one, a .net developer can write it for you, no probs. If you then wish to share that as a sample, that will be very helpful.
nadya07/03/09 10:33:50-
Message #537
I was just going through this "nslookup" cmd-line tool that comes with WindowsXP. Below is sample log of cmds that I tried:
####################################################
C:\>nslookup Default Server: net4-corp-adc1.exchange.net4india.com Address: 202.71.133.102
server A0.CTH.DNS.NIC.TEL
Default Server: A0.CTH.DNS.NIC.TEL Address: 195.253.51.64
set type=TXT
net4.tel
Server: A0.CTH.DNS.NIC.TEL Address: 195.253.51.64
net4.tel text =
".tkw" "1" "ft" "IP Communication solutions & services,BSE-listed business enterprise,Internet Bandwidth Services,Data Centre Solutions,VoIP Solutions, Enterprise Messaging, Hosting Solutions"
net4.tel text =
".tsm" "1" "pddx" "1"
net4.tel text =
"NET 4 INDIA LIMITED
A leading IP Communication services & solutions provider with PAN India presence.
An ISO 27001 (Information Security) certified & ISO 9001:2000 certified, ICANN accredited Registrar and Microsoft Gold Partner." net4.tel nameserver = n0.cth.dns.nic.tel net4.tel nameserver = a0.cth.dns.nic.tel net4.tel nameserver = s0.cth.dns.nic.tel net4.tel nameserver = d0.cth.dns.nic.tel net4.tel nameserver = t0.cth.dns.nic.tel
set type=LOC
unknown query type: LOC
set type=NAPTR
unknown query type: NAPTR
set type=MX
keshari.tel
Server: A0.CTH.DNS.NIC.TEL Address: 195.253.51.64
keshari.tel MX preference = 50, mail exchanger = mail.microsoft.com keshari.tel MX preference = 50, mail exchanger = mail.microsoft.com keshari.tel MX preference = 10, mail exchanger = mail.google.com keshari.tel MX preference = 20, mail exchanger = aspmx.l.google.com keshari.tel MX preference = 30, mail exchanger = mail.net4india.com keshari.tel MX preference = 40, mail exchanger = mail.yahoo.com keshari.tel nameserver = a0.cth.dns.nic.tel keshari.tel nameserver = n0.cth.dns.nic.tel keshari.tel nameserver = t0.cth.dns.nic.tel keshari.tel nameserver = d0.cth.dns.nic.tel keshari.tel nameserver = s0.cth.dns.nic.tel
####################################################
So as an alternative I thought if I could get all these .TEL: records using nslookup it would have been ver easy for anyone to script it further in any language by calling nslookup through shell.
I could get details against record type like TXT but for records types like LOC and NAPTR it failed. can you help me on how to workout for LOC & NAPTR.
best regards.
knl07/04/09 07:34:43-
Message #542
Windows nslookup.exe utility unfortunately does not support all the possible request types allowed per DNS protocol. We therefore advise you to use the tools we are providing.
Alternatively you may wish to look at other utilities; possibly the UNIX versions (host, dig). If Windows operating system is your requirement, you may wish to look into running them under Cygwin.
For example, below is the output of a "host" command on a Linux OS:
$ host -t naptr vlad.tel
vlad.tel has NAPTR record 100 101 "u" "E2U+voice:tel+x-lbl:Current+x-mobile" "^.*$!tel:+447853326927!" .
vlad.tel has NAPTR record 100 102 "u" "E2U+voice:tel+x-lbl:Direct+x-work" "^.*$!tel:+442074676464!" .
vlad.tel has NAPTR record 100 103 "u" "E2U+voice:tel+x-lbl:Switchboard+x-work" "^.*$!tel:+442074676450!" .
vlad.tel has NAPTR record 100 104 "u" "E2U+fax:tel+x-work" "^.*$!tel:+442074676451!" . vlad.tel has NAPTR record 100 105 "u" "E2U+x-voice:skype" "^.*$skype:vvshadr!" .
vlad.tel has NAPTR record 100 106 "u" "E2U+x-im:icq" "^.*$icq:3790673!" .
vlad.tel has NAPTR record 100 108 "" "" "" email-me.vlad.tel.
vlad07/06/09 15:57:48-
Message #545
Alternatively, just download the tool "dig" for Windows: http://members.shaw.ca/nicholas.fong/dig/
You'll be able to use dig to do all your NAPTR, TXT and LOC lookups with shell, and parse that info.
henri07/07/09 12:23:55 -
Message #549
You could also look at the Windows Mobile sourcecode in our SVN repository and extract the classes that handle DNS parsing. I think (I haven't tried) that this C++ file (and its associated .h file) should be all that you need:
henri07/07/09 13:54:02
-
-
-
-
-
-
Message #553
I have a .Net Library that will do what you talking about we intend to release it Open Source as soon as we can get a sec to document it etc. However drop me a line at support@… and I'll shoot you our Development Copy (Note this is pre Alpha so expect bugs). It should be able to accomplish what your looking to do.
David Strickland Monetelize.com
07/17/09 05:32:49








