Static DNS Entries in EdgeOS for an EdgeRouter 10x

The quick search I did on the internet didn't have any pictures and I thought some pictures would really help explain the process.
Hopefully this is more helpful for you than a bulleted list...
Navigate to the config tree

Navigate to your router's IP Address and then hit "Config Tree" in the navigation bar
- click on
system
, then - click on
static-host-mapping
, then - click on
host-name
Add an entry in the host-name box, hit Update List when done

Then click on the new entry's right arrow in the config tree.

Click add on both alias and inet. I'm not sure if alias is needed (my guess is it makes a second name mapping)

Add your content into the two boxes and then hit "Preview" on the bottom.

Hit Apply to commit your changes, if you are ready!

My final configuration is below:

Demo of DNS entry in use with UnRaidOS Client

Edit to use PiHole DNS Manager (2021-02-02)
I recommend using pi-hole's "Local DNS" Feature, rather than the EdgeOS interface. Pi-hole is much simpler and having a recursive DNS server for your home network is a nice piece of mind privacy wise.