dnsmasq - dns override
von MKmaddin- SNIPPET_DESC:
- dnsmasq - proxy dhcp - fritz.box dns server überschreiben
- SNIPPET_CREATION_TIME:
- 27.07.2018 10:42:00
- SNIPPET_PRUNE_TIME:
- Unendlich
- SNIPPET_TEXT:
-
- ##dnsmasq configuration to enable proxy dhcp
- dhcp-range=192.168.1.0,proxy
- ##dnsmasq configuration to make this server TFTP / PXE server
- log-dhcp
- dhcp-option-force=66,192.168.1.250
- pxe-prompt=tag:legacy,"PXE from faiserver - press esc to abort (F8 for arch menu)",2
- pxe-prompt=tag:!legacy,"PXE from faiserver - press esc to abort",0
- dhcp-match=set:legacy,60,PXEClient:Arch:00000
- pxe-service=tag:legacy,X86PC,"amd64 legacy - PXE boot",fai/lpxelinux.0,192.168.1.250
- dhcp-match=set:efibc,60,PXEClient:Arch:00007
- pxe-service=tag:efibc,X86-64_EFI,"amd64 efibc - PXE boot",fai/bootx64.efi,192.168.1.250
- dhcp-match=set:efi64,60,PXEClient:Arch:00009
- pxe-service=tag:efi64,BC_EFI,"amd64 efi64 - PXE boot",fai/bootx64.efi,192.168.1.250
- dhcp-match=set:armv7,60,U-Boot.armv7
- pxe-service=tag:armv7,ARM32_EFI,"armhf armv7 - PXE boot",fai-armhf/bootia32.efi,192.168.1.250
- pxe-service=tag:legacy,X86PC,"armhf legacy - PXE boot (Raspberry Pi Boot)",fai-armhf/raspberrypi.dummy,192.168.1.250
- pxe-service=tag:legacy,X86PC,"i386 legacy - PXE boot",fai-i386/lpxelinux.0,192.168.1.250
- dhcp-match=set:efiitan,60,PXEClient:Arch:00002
- pxe-service=tag:efiitan,IA64_EFI,"i386 efiitan - PXE boot",fai-i386/bootia32.efi,192.168.1.250
- dhcp-match=set:efiia32,60,PXEClient:Arch:00006
- pxe-service=tag:efiia32,IA32_EFI,"i386 efiia32 - PXE boot",fai-i386/bootia32.efi,192.168.1.250
- ##dnsmasq configuration to publish name service information for: fritz.box
- log-queries
- expand-hosts
- port=53
- domain=fritz.box
- dhcp-option=6,192.168.1.250,8.8.8.8
- resolv-file=/etc/resolv.dnsmasq
Quellcode
Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN