Manual DNS entry - guidance needed

I’m trying to set up YCast [1] and I need to redirect all traffic going to to a local machine ( From the YCast manual: “You need to create a manual entry in your DNS server (read ‘Router’ for most home users). (more specifically * ) should point to the machine YCast is running on.”
How can I do it on Turris Omnia [2]? I guess it’s in LuCi->Network->DHCP and DNS, but then I’m lost. Should I create a “Additional servers file” (see Advanced Settings)? If so, where I should put the file to make it permanent?

I have ssh access to the router.

[2] OpenWrt omnia 15.05 r47055 / LuCI fd63d5cc7dfc69c640b741dceb80555141a80670 branch (git-19.318.61483-fd63d5c)

See here (Section Adding static address records): Turris Documentation

So in your case add „“… BUT this only redirects, not its subdomains. If you know which subdomains you need to redirect you can add them manually, too. Maybe someone else knows how to redirect a domain in kresd including its subdomains, maybe using a custom kresd config file…


This LuCI Section configures dnsmasq, which is standard dns resolver in vanilla OpenWRT but not in Turris OS, which uses kresd. There is no LuCI Section for kresd configuration, just some configuration in Foris → DNS, everything else needs to be configured over ssh…

EDIT 2: required subdomains are listed here: YCast/ at master · milaq/YCast · GitHub , so my solution should be sufficient :slight_smile:

Just add „


Thank you!

root@turris:~# cat /etc/config/resolver | grep -A 2 -B 6 addit
config resolver 'kresd'
    option rundir '/tmp/kresd'
    option log_stderr '0'
    option log_stdout '0'
    option forks '1'
    #by Przemo
    list hostname_config '/etc/hosts.additional'

    config resolver 'unbound'
root@turris:~# cat /etc/hosts.additional
1 Like

Thank you! I got it working! :smiley: