roninkenji / dnsmasq-docker

Dnsmasq under Slackware userspace
GNU General Public License v2.0
0 stars 0 forks source link

Help setting up docker #1

Open timbiotic opened 8 years ago

timbiotic commented 8 years ago

I installed dnsmasq using your template but it won't start. Do I need more files somewhere? I'm on unraid 6.1.9. So happy someone is doing this. Can't believe no one has before

roninkenji commented 8 years ago

Yeah - well there's a reason I didn't publish this in UnRaid forums. The dnsmasq install is a bare install. so bare that there are no config files. This is more for migrating from an existing setup where the config file is /etc/dnsmasq.d/dnsmasq.conf

I actually only use this for providing PXE services with a bare config:

interface=br0
no-hosts
resolv-file=/etc/dnsmasq.d/resolv
all-servers
strict-order
cache-size=3000
domain=domain.com
dhcp-range=192.168.2.1,proxy,255.255.255.0
stop-dns-rebind
domain-needed
expand-hosts
addn-hosts=/etc/dnsmasq.d/hosts
log-facility=/etc/dnsmasq.d/log
enable-tftp
tftp-root=/tftpboot
listen-address=192.168.2.5
dhcp-vendorclass=set:PXE,PXEClient:Arch:00000
dhcp-vendorclass=set:EFI,PXEClient:Arch:00007
dhcp-vendorclass=set:LNX,Linux
dhcp-vendorclass=set:WIN,MSFT
dhcp-boot=pxelinux.0
pxe-service=tag:PXE,x86PC,"Network Services",pxelinux
pxe-service=tag:PXE,tag:#netboot,x86PC,"Boot PC",0
pxe-service=tag:PXE,tag:#netboot,x86PC,"WindowsPE",Boot/startrom

So its a bit half finished sad to say....