Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dnsmasq as an optional container #8

Open
wants to merge 1 commit into
base: legacy
Choose a base branch
from
Open

Conversation

chregu
Copy link
Member

@chregu chregu commented Aug 21, 2019

Up for discussion on the details

Not sure, if the add-host.sh is too much for this project, or if this should go to pontsun-cli.

@chregu chregu changed the title add dnsmasq as an optional container Add dnsmasq as an optional container Aug 21, 2019
Copy link
Contributor

@Aerzas Aerzas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the proposition that's a good idea. I've added a few comment if you mind having a look.


ADD dnsmasq.conf /etc/

EXPOSE 53 53/udp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would probably avoid creating an image with a root user just in case.

#log all dns queries
log-queries
#dont use hosts nameservers
no-resolv
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we consider no-hosts also ?

@@ -0,0 +1,51 @@
#!/usr/bin/env bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this part should added to pontsun-cli rather than here ?

@@ -0,0 +1,8 @@
FROM alpine:edge
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally this should not be part of this repo but available as a global image on the Liip docker registry.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where would you put the Dockerfile then?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe in a dedicated repo so it can be managed in parallel of Pontsun. But this can be later of course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants