LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dnsmasq - dynamically create dns entry without DHCP (https://www.linuxquestions.org/questions/linux-networking-3/dnsmasq-dynamically-create-dns-entry-without-dhcp-4175577825/)

Nalik 04-19-2016 07:49 AM

dnsmasq - dynamically create dns entry without DHCP
 
Is there a way for dnsmasq to create an DNS record dynamically, without enabling DHCP service? All those files /etc/hosts, /etc/dnsmasq.conf are readed only on dnsmasq's startup and after changing them one should restart dnsmasq too.

wpeckham 04-20-2016 06:24 AM

Wow
 
Wait, dynamic loading of a non-dynamic address ... ???

I am not sure I can answer, but I sure have to wonder WHY you might want that. Is that something you could share?

Nalik 04-23-2016 04:29 PM

I needed to write custom dhcp server, and i didn't wanted to write dns server too. So I hoped that I could configure records in existed dns server(dnsmasq) somehow, for example via editing some files.. but looks like there is no such way.
Sorry for delayed answer.

wpeckham 04-24-2016 06:26 AM

re-inventine the horse?
 
DNSMASQ is an excellent caching DNS server and does integrated DHCP as well. I have used it to provide DHCP and as primary DNS for my local home network back when Ubuntu was current at version 8 or 9 (it has been a while).

What features do you need that no existing DNS or DHCP server will provide?


All times are GMT -5. The time now is 07:14 PM.