Skip to content

FQDN in AWS Greengrass Core v2

0

Hello, in my work asked me for the FQDN (fully qualified domain name) for AWS Greengrass Core v2 and i supposed that there are one different for every core device, but I dont know where I can get this information. I hope that anyone can help me, I have been looking for but I don't found anthing.

asked 2 years ago154 views

2 Answers
1

The FQDN would be the host were Greengrass is running. Within the environment where the Greeengrass Core device is running, do a reverse DNS lookup of the IP address. If running on Linux, this command will work assuming a host entry has been made for the device:

echo "IP Address: $(hostname -I | awk '{print $1}') FQDN: $(hostname -f)"

Note: the commands may vary based on Linux distro.

AWS

answered 2 years ago

1

If you need to connect client devices to your Greengrass v2 core device using MQTT, you'll need to ensure that the FQDN or IP address of the core device is present in the broker certificate.

Sources

Connecting client devices to an AWS IoT Greengrass Core device with an MQTT broker - AWS IoT Greengrass

The FQDN would be the host were Greengrass is running. Within the environment where the Greeengrass Core device is running, do a reverse DNS lookup of the IP address. If running on Linux, this command will work assuming a host entry has been made for the device:

echo "IP Address: $(hostname -I | awk '{print $1}') FQDN: $(hostname -f)"

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.