On Fri, Oct 08, 2021 at 10:28:07PM +0300, Alkis Georgopoulos wrote:
> On 10/8/21 10:12 PM, Olaf Hering wrote:
> > Am Fri, 8 Oct 2021 19:02:31 +0300
> > schrieb Alkis Georgopoulos :
> >
> > > yeah I too settled for a sed command
> >
> > Sorry, I do not use sed or anything.
> >
> > If the MAC/ip/h
Hi Olaf,
I meant that you too generate the dnsmasq configuration files.
I.e. a script or a generation command is involved.
In your example, you maintained your information as a series of shell
variable assignments (e.g. `dnsdomain=home.arpa`).
Then you used the `tee` command to generate a dnsma
Am Fri, 8 Oct 2021 19:02:31 +0300
schrieb Alkis Georgopoulos :
> yeah I too settled for a sed command
Sorry, I do not use sed or anything.
If the MAC/ip/hostname triple is know in advance, create a static config file
with host-record= and dhcp-host=. Sorry if that was unclear.
But if you have
Hi Olaf,
yeah I too settled for a sed command that transforms a dhcp-hosts file
into an addn-hosts file.
I maintain the main information in the dhcp-hosts file and then I run
the sed command.
Thank you,
Alkis
On 10/8/21 3:04 PM, Olaf Hering wrote:
On Sun, Oct 03, Alkis Georgopoulos wrote:
On Sun, Oct 03, Alkis Georgopoulos wrote:
> Is there any way for dnsmasq to put all the dhcp-hosts into its DNS view
> even when these clients are offline?
Maybe you asking for this:
dnsdomain=home.arpa
hostname=esprimo
MAC=00:a0:d1:c8:8e:cb
ipv4=172.16.0.6
ipv6=fd00:172:16::02a0:d1ff:
On 04/10/2021 13:37, Dominik Derigs wrote:
> Initially, I've myself found this an odd behavior to only serve
> only DHCP host names that are known to be "alive". I do see some
> value in not serving A records when we know the server is
> offline, however, the very same happens on the Internet all
Hi Michael,
On 10/5/21 14:43, Michael wrote:
> On 10/4/21 05:37, Dominik Derigs wrote:
>> Hey Petr,
>>
>> On Mon, 2021-10-04 at 11:45 +0200, Petr Menšík wrote:
>>> Perhaps a flag could be added to dhcp-range, requesting also
>>> addition of dhcp-hosts to static dns.
>> Maybe this flag would better
On 10/5/2021 2:43 PM, Michael wrote:
On 10/4/21 05:37, Dominik Derigs wrote:
Hey Petr,
On Mon, 2021-10-04 at 11:45 +0200, Petr Menšík wrote:
Perhaps a flag could be added to dhcp-range, requesting also
addition of dhcp-hosts to static dns.
Maybe this flag would better be set on --dhcp-host an
Hey Michael,
On Tue, 2021-10-05 at 05:43 -0700, Michael wrote:
> Maybe I am misunderstanding the issue, but dnsmasq already give
> the ability that is being asked for I believe.
if you go back one mail earlier than my last mail, you'd see that
the we're discussing specifically to not need two ind
On 10/4/21 05:37, Dominik Derigs wrote:
Hey Petr,
On Mon, 2021-10-04 at 11:45 +0200, Petr Menšík wrote:
Perhaps a flag could be added to dhcp-range, requesting also
addition of dhcp-hosts to static dns.
Maybe this flag would better be set on --dhcp-host and --dhcp-
hostsfile if this is used? T
Hey,
On 10/4/21 14:37, Dominik Derigs wrote:
> Hey Petr,
>
> On Mon, 2021-10-04 at 11:45 +0200, Petr Menšík wrote:
>> Perhaps a flag could be added to dhcp-range, requesting also
>> addition of dhcp-hosts to static dns.
> Maybe this flag would better be set on --dhcp-host and --dhcp-
> hostsfile i
Hey Petr,
On Mon, 2021-10-04 at 11:45 +0200, Petr Menšík wrote:
> Perhaps a flag could be added to dhcp-range, requesting also
> addition of dhcp-hosts to static dns.
Maybe this flag would better be set on --dhcp-host and --dhcp-
hostsfile if this is used? This would feel more "natural" to me.
I
Hi Alkis,
I think you can use addn-hosts for name<=>IP address mapping and use
dhcp-hostsfile just for mac address assignment to existing pair. But it
prevents ability to create one file the other one, because primary data
are split into two files. I guess creation of addn-hosts from dhcp-hosts
by
Thank you Petr,
indeed I wouldn't mind at all to add a `,forever` in these dhcp-host
lines if it automatically added them to DNS without having to boot them.
Or to use a `dhcp-range=,some-flag` syntax.
Fortunately a script that converts from dhcp-hosts to addn-hosts was
rather easy to imp
On 10/3/2021 3:24 PM, Alkis Georgopoulos wrote:
Hello Geert and all,
unfortunately this feature isn't convenient when you want to `ping pc`
and wait until it's up; or when you check some system logs and see an IP
and you want to run `host IP` to see which hostname it maps to, yet that
PC isn't u
Hello Geert and all,
unfortunately this feature isn't convenient when you want to `ping pc`
and wait until it's up; or when you check some system logs and see an IP
and you want to run `host IP` to see which hostname it maps to, yet that
PC isn't up at that time; or in certain multiple DHCP
s
Hello Alkis,
Hello Dnsmasq mailinglist,
On Sun, Oct 03, 2021 at 11:21:00AM +0300, Alkis Georgopoulos wrote:
> Hi, I'm using a dhcp-hostsfile with lines like the following:
>
> b8:27:eb:c4:a5:4a,set:lab1,192.168.67.100,rpi
>
> When that client boots, I can run `host rpi localhost` and dnsmasq t
Hi, I'm using a dhcp-hostsfile with lines like the following:
b8:27:eb:c4:a5:4a,set:lab1,192.168.67.100,rpi
When that client boots, I can run `host rpi localhost` and dnsmasq tells
me its IP.
But when that client is offline, dnsmasq replies "Host rpi not found:
3(NXDOMAIN)"
Is there any way
18 matches
Mail list logo