Feature request: Command to resolve domain name
#1
Since the WiModem performs name server lookups anyway, would it be possible to implement an AT command (e.g. AT*DIG) that allows such queries to be executed interactively?

For example, AT*DIGwww.cbmstuff.com to query the IP address of the A record of www.cbmstuff.com:

AT*DIGwww.cbmstuff.com
74.208.236.26
Reply
#2
You mean a command that converts a URL to an IP address? I am not sure if that is possible since this is done internally in the WiFi stack and is something that I never see. But, I will look into it.
Reply
#3
OK, I CAN do this but I am not sure if I like *DIG for the command though. Smile

You would need to enter the URL without the www or anything in front of the www. For example:

AT*DNS cbmstuff.com

Any space character after the DNS would be ignored.
Reply
#4
OK, done! New version is available. Use:

AT*DNS <URL>

You can use a domain name with www or even https:// in front of the domain name.
Reply
#5
Thumbs Up 
Wow, that was incredibly fast and works great. "DIG" was just a suggestion based on the Unix `dig` command. Now, mailbox operators have a way to query their own (dynamic) external IP address.

Thanks a million for that, Jim! 
Smile
Reply
#6
You're welcome! I don't work with Linux, so I have never heard of this before.
Reply




Users browsing this thread: 2 Guest(s)