NoPaste

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:
  1. ##dnsmasq configuration to enable proxy dhcp
  2. dhcp-range=192.168.1.0,proxy
  3.  
  4. ##dnsmasq configuration to make this server TFTP / PXE server
  5. log-dhcp
  6. dhcp-option-force=66,192.168.1.250
  7. pxe-prompt=tag:legacy,"PXE from faiserver - press esc to abort (F8 for arch menu)",2
  8. pxe-prompt=tag:!legacy,"PXE from faiserver - press esc to abort",0
  9.  
  10. dhcp-match=set:legacy,60,PXEClient:Arch:00000
  11. pxe-service=tag:legacy,X86PC,"amd64 legacy - PXE boot",fai/lpxelinux.0,192.168.1.250
  12.  
  13. dhcp-match=set:efibc,60,PXEClient:Arch:00007
  14. pxe-service=tag:efibc,X86-64_EFI,"amd64 efibc - PXE boot",fai/bootx64.efi,192.168.1.250
  15.  
  16. dhcp-match=set:efi64,60,PXEClient:Arch:00009
  17. pxe-service=tag:efi64,BC_EFI,"amd64 efi64 - PXE boot",fai/bootx64.efi,192.168.1.250
  18.  
  19. dhcp-match=set:armv7,60,U-Boot.armv7
  20. pxe-service=tag:armv7,ARM32_EFI,"armhf armv7 - PXE boot",fai-armhf/bootia32.efi,192.168.1.250
  21. pxe-service=tag:legacy,X86PC,"armhf legacy - PXE boot (Raspberry Pi Boot)",fai-armhf/raspberrypi.dummy,192.168.1.250
  22. pxe-service=tag:legacy,X86PC,"i386 legacy - PXE boot",fai-i386/lpxelinux.0,192.168.1.250
  23.  
  24. dhcp-match=set:efiitan,60,PXEClient:Arch:00002
  25. pxe-service=tag:efiitan,IA64_EFI,"i386 efiitan - PXE boot",fai-i386/bootia32.efi,192.168.1.250
  26.  
  27. dhcp-match=set:efiia32,60,PXEClient:Arch:00006
  28. pxe-service=tag:efiia32,IA32_EFI,"i386 efiia32 - PXE boot",fai-i386/bootia32.efi,192.168.1.250
  29.  
  30. ##dnsmasq configuration to publish name service information for: fritz.box
  31. log-queries
  32. expand-hosts
  33. port=53
  34. domain=fritz.box
  35. dhcp-option=6,192.168.1.250,8.8.8.8
  36. resolv-file=/etc/resolv.dnsmasq

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN