how to set hostname on a cable line?

Shamim Shahriar shamim.shahriar at
Thu Mar 22 15:36:24 UTC 2018

In my limited understanding, you will be better off using a raspberry pi
(for low footprint) in your network, ruining freebsd and dnsmasq, offering
DNS and DHCP service to the network. Disable DHCP on the router, and that
router is not expected to offer DNS for local network zone (it only
resolves public IP from upstream DNS server).

Just my 2p

All the best

On Thu, 22 Mar 2018, 15:18 Manish Jain, <jude.obscure at> wrote:

> On 03/22/18 17:43, Anton Shterenlikht wrote:
> > No matter what I put there,
> > ssh `hostname` will not work, because
> > my randomly chosen hostname will not resolve to my IP!
> Hi Anton,
> I suppose you have already tried something like this, but I just wanted
> to be sure: can you not 1) put fqdn in rc.conf; and then 2) put the IP
> for the machine's fqdn in /etc/hosts on the box that needs to ssh ?
> --
> Tx and Regards,
> Manish Jain
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list