Selfhosted Omada SDN - Remote device adoption fails using FQDN as inform Url
Selfhosted Omada SDN - Remote device adoption fails using FQDN as inform Url
Hi to all, i would want to share my issue with you becasuse it's driving me crazy:
i've deployed omada sdn on cloud vps with docker, all seems to work well but when i try to adopt a device using fqdn as inform url (omada.example.com), the device is never showed in "device list".
If i use ip address (xxx.xxx.xxx.xxx), device appears immediatly and adoption stage works as expected!!
1-Access the web interface on the device you want to remotely adopt and go to "controller settings"
2-Set the controller inform url using the ip address of the remote machine (xxx.xxx.xxx.xxx)
3-The device is immediatly ready for adoption on the controller device list
4-Set again the controller inform url using the fqdn of the remote machine (omada.example.com)
5-The device disappear from the device list after a while.
Anyone knows the reason f this behaviour?
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
Emulator starts from version V1.30 and there was an option to set dns, not for v.1.0
But i have the same behaviour with SG2210P v.5.20, inform ip ok, fqdn not. And i'm unable to set dns manually.
sg3428x

- Copy Link
- Report Inappropriate Content
ok, then I can't help you, I see the firmware is very old too, but it's the latest for that switch. but it's strange if you can't set dns on the switch, I refuse to believe that. but Vincent probably has the answer to that. but I found an emulator for SG2210p but I didn't find DNS settings there either.
try with SSH and take the command from the switch conole.
type when you are loged in
enable
ip dns-address primary 1.1.1.1 secondary 1.0.0.1
- Copy Link
- Report Inappropriate Content
If you haven't used SSH before, there is a good tool for that, search for putty. It is self-explanatory when you start the program.
- Copy Link
- Report Inappropriate Content
@Fabiuzz, did you try option 138? You just need to set and maintain the controller's IP in one place and any Omada device using DHCP (factory default is enabled) should announce itself to the controller. You don't even need to log into the device to set anything out of the box to adopt it. Once adopted you can set static IP, DNS, etc.
This solution doesn't work by using fqdn, but I think it accomplishes what you want unless I missed a requirement.
- Copy Link
- Report Inappropriate Content
Hi @Fabiuzz
You don’t need to look for how to configure the DNS server in the standalone interface—even if the configuration succeeds, the controller will overwrite and clear it once the device is adopted.
We recommend first managing the switch, then configuring the DNS server in the controller interface. Below is the page:

BTW, to configure the DNS server for switches under the standalone interface, you need to enable the DHCP server for the switch first.
- Copy Link
- Report Inappropriate Content
I don't really need to set dns except because the adoption fails with fqdn and the switch is set with static ip.
As you can read in my first post, my controller is hosted on cloud vps with docker, so if i can't adopt my switches with fqdn i can't really start to manage my sites (3 at now); my concern is that I have to reconfigure all the devices in the sites if I change the controller's ip address.
BUT, if i can adopt the switches using controller ip in inform url and then change it (inform url) with fqdn in the controller, then this could be a solution!
- Copy Link
- Report Inappropriate Content
you can do it in global settings, but I doubt if your switch supports device management with so old firmware, device management is similar to inform address.


Fabiuzz wrote
I don't really need to set dns except because the adoption fails with fqdn and the switch set with static ip.
As you can read in my first post, my controller is hosted on cloud vps with docker, so if i can't adopt my switches with fqdn i can't really start to manage my sites (3 at now); my concern is that I have to reconfigure all the devices in the sites if I change the controller's ip address.
BUT, if i can adopt using ip in inform url and then change it (inform url) with fqdn in the controller, then this could be a solution!
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 305
Replies: 19
Voters 0
No one has voted for it yet.

