Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ALERT] 134/160502 (25218) : parsing [/etc/haproxy/haproxy.cfg:57] : 'server example' : could not resolve address 'example.service.com'.
- [ALERT] 134/160502 (25218) : Failed to initialize server(s) addr.
- resolvers dnsmasq
- nameserver ip 10.80.10.25:5353
- resolvers coredns
- nameserver ip 10.80.10.25:53
- frontend example-service
- bind :80
- mode http
- default_backend example
- backend example
- mode http
- balance roundrobin
- option forwardfor
- http-request set-header X-Forwarded-Port %[dst_port]
- http-request add-header X-Forwarded-Proto https if { ssl_fc }
- option httpchk HEAD / HTTP/1.1rnHost:localhost
- server example example.service.com resolvers coredns check inter 1000
- dig @10.80.10.25 -p 53 example.service.com +noall +answer
- ; <<>> DiG 9.11.3-1ubuntu1.7-Ubuntu <<>> @10.80.10.25 -p 53 example.service.com +noall +answer
- ; (1 server found)
- ;; global options: +cmd
- example.service.com. 3600 IN A 127.0.0.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement