> Op 9 sep. 2023 om 07:19 heeft Wink Saville <w...@saville.com> het volgende 
> geschreven:
> 
> I'm learning dnsmasq and I'm taking advice from ChatGPT-4, probably a
> bad idea but so far it's given reasonable advice :)

How are you able to judge if advice is reasonable if you’re needing to ask for 
advice?

> 
> Anyway, in this instance I was asking a question[1] about how to
> configure dnsmasq on OpenWRT.
> 
> The first prompt was:
> 
> "Using Luci on openwrt is there a way to set a dhcp-option and use it
> on a dhcp-host record?"
> 
> It answered correctly that using luci you can't do it but you can do
> it in /etc/dnsmasq.conf and gave an example:
> 
> ```
> dhcp-host=00:11:22:33:44:55,set:myOptions,192.168.1.100
> dhcp-option=tag:myOptions,option:dns-server,192.168.1.2
> dhcp-option=tag:myOptions,option:router,192.168.1.1
> ```
> 
> My second prompt ends with the question:
> 
> "Anyway, your example shows that myOptions is composed of two separate
> dhcp-option's. Are you sure that is legal, can you provide me with a
> link or a quote from the dnsmasg.conf documentation?"
> 
> Its response was, as is typical. a long winded yes and it also gave me
> a quote from the documentation. Of course, I couldn't find that quote,
> which is also typical, it lies! Anyway, to cut to the chase I'm
> writing because the technique the bot showed does work, at least it
> seems to work for me on OpenWRT with dnsmasq v2.86. But, as I said I
> don't see in the documentation. Did I just miss it or should I not use
> it or maybe it should be documented?
> 
> -- Wink
> 
> [1]:https://chat.openai.com/share/cadee80b-4e3e-41e1-b95e-5fd62e799a9a
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss@lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
> 


_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to