How can I add DNS record to the router


I want to give a DNS record for the router, like, so I can access it easily without using the IP. Is it possible?

Edit file:


and add section:

config domain
      option name 'host_name'
      option ip 'host_ip'

for each host and restart dnsmasq.

Or in LuCi: Network → Hostnames

If you use Adguard I think it also has the possibility to add there too.

1 Like

Cool, thanks

Actually, it already defined a domain,, for me. I will just use it.