Skip to content

Instantly share code, notes, and snippets.

@ikurni
Created February 4, 2020 12:31
Show Gist options
  • Save ikurni/9906ea4242e6137719073feadefd6eae to your computer and use it in GitHub Desktop.
Save ikurni/9906ea4242e6137719073feadefd6eae to your computer and use it in GitHub Desktop.
dnsmasq.conf sample for OCP 4
srv-host=_etcd-server-ssl._tcp.prodocp.dc.example.com,etcd-0.prodocp.dc.example.com,2380,0,10
srv-host=_etcd-server-ssl._tcp.prodocp.dc.example.com,etcd-1.prodocp.dc.example.com,2380,0,10
srv-host=_etcd-server-ssl._tcp.prodocp.dc.example.com,etcd-2.prodocp.dc.example.com,2380,0,10
###disable DHCP
no-dhcp-interface=
###add for dns
no-hosts
addn-hosts=/etc/dnsmasq.hosts
domain=dc.example.com
local=/dc.example.com/
#server=8.8.8.8
address=/apps.prodocp.dc.example.com/192.168.48.77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment