Posts: 24
Threads: 5
Joined: May 2020
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
Posts: 2,976
Threads: 149
Joined: Nov 2013
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.
Posts: 2,976
Threads: 149
Joined: Nov 2013
OK, I CAN do this but I am not sure if I like *DIG for the command though.
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.
Posts: 2,976
Threads: 149
Joined: Nov 2013
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.
Posts: 24
Threads: 5
Joined: May 2020
Yesterday, 12:03 AM
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!
Posts: 2,976
Threads: 149
Joined: Nov 2013
You're welcome! I don't work with Linux, so I have never heard of this before.