Commit Graph

1758 Commits

Author SHA1 Message Date
Vicente Jimenez Aguilar
21ad3a14b3
udhcpd max leases configuration mispelled
see example file or https://udhcp.busybox.net/udhcpd.conf
2020-09-15 11:18:00 +02:00
Josh Kunz
9801e42033 Add Travis-CI swag 2019-03-17 14:44:21 -07:00
Josh Kunz
129d470925 Merge branch 'add-docs' 2019-03-13 22:46:40 -07:00
Josh Kunz
8a180cb783 Add README 2019-03-13 22:25:01 -07:00
Josh Kunz
b54671a9d5 Add travis build 2019-03-12 23:40:53 -07:00
Josh Kunz
a8e258e5e2 Use static IP address for dhcpd
For containers with user-defined bridge networks, Docker creates an
"embedded" DNS server, that listens on the loopback interface.
`generate-dhcpd-conf` was trying to pass this local DNS server to the VM,
causing it to fail all DNS queries.

This change makes `generate-dhcpd-conf` return static IP addresses, by
default `8.8.8.8`,`8.8.4.4`. This seems like a reasonable enough middle
ground between "no DNS" and trying to proxy VM DNS requests to the
embedded docker DNS server.

This has the unfortunate side-effect that the VM cannot resolve the
names of containers on the same user-defined network (though it can
still connect to them by IP). Hopefully I'll eventually get around to
fixing this.
2019-03-11 23:41:58 -07:00
Josh Kunz
e78aac3b9c Minor fixes + support hostname 2019-03-11 22:32:16 -07:00
Josh Kunz
b17ffa6d6f Fully working implementation 2019-03-11 00:35:19 -07:00