# How To Resolve name / IP number (DNS resolution) through An AT cmd on the Sierra Wireless HL7812 module

**URL:** <https://forum.sierrawireless.com/t/how-to-resolve-name-ip-number-dns-resolution-through-an-at-cmd-on-the-sierra-wireless-hl7812-module/34542>\
**Category:** Legacy HL Series\
**Created:** [February 25, 2025, 12:13pm UTC](https://forum.sierrawireless.com/t/how-to-resolve-name-ip-number-dns-resolution-through-an-at-cmd-on-the-sierra-wireless-hl7812-module/34542 "2025-02-25T12:13:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zsen](https://avatars.discourse-cdn.com/v4/letter/z/b487fb/32.png) [@zsen](https://forum.sierrawireless.com/u/zsen)\
**Post date:** [February 25, 2025, 12:13pm UTC](https://forum.sierrawireless.com/t/how-to-resolve-name-ip-number-dns-resolution-through-an-at-cmd-on-the-sierra-wireless-hl7812-module/34542/1 "2025-02-25T12:13:05Z")

</div>

Can you please help me find the easiest way to get an IP address by resolving a domain name(for example aws mqtt cloud connection hostname: [random.iot.region.amazonaws.com](http://random.iot.region.amazonaws.com))? Is there an AT command for this? I came across the AT+UDNSRN command from another modem provider, but I couldn’t find an alternative for the HL7812.

FW: HL7812.5.5.14.0

Kind regardss  
Thanks.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 25, 2025, 1:27pm UTC](https://forum.sierrawireless.com/t/how-to-resolve-name-ip-number-dns-resolution-through-an-at-cmd-on-the-sierra-wireless-hl7812-module/34542/2 "2025-02-25T13:27:42Z")

</div>

See if this helps to use udp communication

[https://w3.cs.jmu.edu/kirkpams/OpenCSF/Books/csf/html/UDPSockets.html](https://w3.cs.jmu.edu/kirkpams/OpenCSF/Books/csf/html/UDPSockets.html)

---

<div class="post-metadata">

**Author:** ![zsen](https://avatars.discourse-cdn.com/v4/letter/z/b487fb/32.png) [@zsen](https://forum.sierrawireless.com/u/zsen)\
**Post date:** [February 25, 2025, 2:01pm UTC](https://forum.sierrawireless.com/t/how-to-resolve-name-ip-number-dns-resolution-through-an-at-cmd-on-the-sierra-wireless-hl7812-module/34542/3 "2025-02-25T14:01:37Z")

</div>

> [@jyijyi](#):
>
> See if this helps to use udp communication
> 
> [4.6. UDP Socket Programming: DNS — Computer Systems Fundamentals](https://w3.cs.jmu.edu/kirkpams/OpenCSF/Books/csf/html/UDPSockets.html)

Thanks, @jyijyi ! Yes, this is exactly what I am using today. I was hoping to find a quick solution on the modem side to bind my offloaded Socket DNS API interface to handle domain name resolution more efficiently. Ideally, I’m looking for an AT command that could resolve a domain to an IP directly on the modem without relying on external processing. Do you know if there’s any built-in functionality for this on the HL7812?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 25, 2025, 4:01pm UTC](https://forum.sierrawireless.com/t/how-to-resolve-name-ip-number-dns-resolution-through-an-at-cmd-on-the-sierra-wireless-hl7812-module/34542/4 "2025-02-25T16:01:51Z")

</div>

how about using AT+KTCPCFG? after connecting to your server?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/9/9c71a22c652a9cfc03bb784c2811069ae2d468d0.png)
