LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-19-2016, 07:49 AM   #1
Nalik
LQ Newbie
 
Registered: Apr 2016
Posts: 5

Rep: Reputation: Disabled
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.
 
Old 04-20-2016, 06:24 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,507

Rep: Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656
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?
 
Old 04-23-2016, 04:29 PM   #3
Nalik
LQ Newbie
 
Registered: Apr 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
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.
 
Old 04-24-2016, 06:26 AM   #4
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,507

Rep: Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS client will not resolve when DHCP DNS entry exists kasl33 Linux - Server 2 08-24-2014 08:01 PM
setup hostname from DNS/DHCP dynamically nicolasdiogo Linux - Networking 6 12-27-2012 03:52 PM
dnsmasq dhcp+dns resolv unless for server eztaitt Linux - Server 2 05-18-2010 09:25 AM
Newbie :dhcp3 as DHCP + dnsmasq as DNS for small LAN ? Umanga Linux - Server 1 02-26-2010 04:14 AM
LXer: Enhance your DNS and DHCP services with dnsmasq LXer Syndicated Linux News 0 10-04-2008 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration