Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2018 15:36:11 +0000
From:      Shamim Shahriar <shamim.shahriar@gmail.com>
To:        Manish Jain <jude.obscure@yandex.com>
Cc:        Polytropon <freebsd@edvax.de>,  "freebsd-questions@FreeBSD.org" <freebsd-questions@freebsd.org>
Subject:   Re: how to set hostname on a cable line?
Message-ID:  <CAOyJeZQrG51GA55bahnPpR-o3M4Cte1pUQzecJjXaAE8%2BNLgXA@mail.gmail.com>
In-Reply-To: <86e6405e-a0e0-8d9c-c363-b6537ef4ed8d@yandex.com>
References:  <201803211834.w2LIY9Jh059885@jail0199.vps.exonetric.net> <79cc198c-daa9-1cb2-020f-d11d7d3d396a@yandex.com> <20180321213005.GA73927@jail0199.vps.exonetric.net> <20180321232254.3a2dc696.freebsd@edvax.de> <20180322121320.GA66012@jail0199.vps.exonetric.net> <86e6405e-a0e0-8d9c-c363-b6537ef4ed8d@yandex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@yandex.com> 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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOyJeZQrG51GA55bahnPpR-o3M4Cte1pUQzecJjXaAE8%2BNLgXA>