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




Users browsing this thread: 1 Guest(s)