I am trying to add a new domain name for the router to kresd config. I am using the hbt testing 5.0.0 branch.
So, in luci I went to Network -> Hostnames. I added “dc0.ds.example.com” with an ip address of 192.168.6.1 (my router’s lan ip).
Now, I can resolve “dc0.ds.example.com.lan”, which include the “.lan” tacked on for a local domain. I want to remove that.
So, I proceed to Network -> DHCP and DNS in Luci. I select the “Advanced Settings” tab. I uncheck expand hosts. I save and apply the change.
Unfortunately, the kresd init script does nothing different in that case. According to the description of the option on here, I believe that should remove the “.lan” part.
So, I started digging a bit further. I noticed that the kresd is configured put the static hostnames into /tmp/kresd/hints.tmp. However, if I look in the kresd init script (/etc/init.d/kresd), I can see that it just dumps names with the local domain appended without looking at the expandhosts setting.
Would it make sense to change this so that expandhosts changed the values written into /tmp/kresd/hints.tmp. My hints.tmp looks like this:
I would prefer that is look like this when expandhosts is set to 0:
I can definitely write up a change for this if this is acceptable. However, I have a few questions about the gitlab instance.
- How do I find the ssh fingerprint? I would like to verify it when I go to clone the repo via ssh.
- How do I fork? Seems I cannot do that even after logging in?
- I assume this is the same answer as the previous, but how do I create a merge request?