How can I add DNS record to the router

Hi,

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

Edit file:

/etc/config/dhcp

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, console.gl-inet.com, for me. I will just use it.