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

[Feature request] Custom DNS server address #176

Open
jackrod opened this issue Apr 29, 2021 · 7 comments
Open

[Feature request] Custom DNS server address #176

jackrod opened this issue Apr 29, 2021 · 7 comments
Labels
invalid This doesn't seem right

Comments

@jackrod
Copy link

jackrod commented Apr 29, 2021

Expected Behaviour

Allow nameservers to be specified in config or as a replacement file.

Current Behaviour

Currently the nameserver is hardcoded and does not work in my environment

Are you a GitHub Sponsor (Yes/No?)

  • [ X] No

List all Possible Solutions

*Use a file template for nameserver
*Allow a configuration to set the nameservers

List the one solution that you would recommend

Template resolv.conf

Steps to Reproduce (for bugs)

Deploy Faasd to environment where DNS is not 8.8.8.8 and watch nothing work

Context

Standalone environment with a private DNS server

Your Environment

  • OS and architecture:
    Amazon Linux
  • Versions:
    2
go version
N/A
containerd -version
1.4.4
uname -a
N/A
cat /etc/os-release
Amazon Linux
faasd version
```latest

Is there a way to override this behavior?

https://github.com/openfaas/faasd/blob/2885bb0c514a403d317b93e6d8add1ad52239a13/cmd/provider.go#L65

Thanks,
~Jack
@alexellis
Copy link
Member

Hi @jackrod, thanks for your interest in OpenFaaS.

Please can you fill out the whole issue template?

@alexellis
Copy link
Member

/add label: invalid

@derek derek bot added the invalid This doesn't seem right label Apr 29, 2021
@jackrod
Copy link
Author

jackrod commented May 10, 2021

Thanks Alex!

@jackrod
Copy link
Author

jackrod commented May 25, 2021

I did it! I think?

@alexellis
Copy link
Member

Thanks for following the contribution process, if we had started there, it might have meant getting to this point a little sooner.

Currently the nameserver is hardcoded and does not work in my environment

Why is that? Can you help us understand so we can triage this?

Alex

@alexellis
Copy link
Member

/set title: [Feature request] Custom DNS server address

@derek derek bot changed the title Hardcoded nameserver for DNS [Feature request] Custom DNS server address Jul 13, 2021
@amarjothi
Copy link

Thanks for following the contribution process, if we had started there, it might have meant getting to this point a little sooner.

Currently the nameserver is hardcoded and does not work in my environment

Why is that? Can you help us understand so we can triage this?

Alex

hi Alex,
I can answer this, faasd is deployed on an internal network with no external connectivity. Hence there is a requirement to override to set it to organizations nameserver and search. dns and dns.search parameters. Please do you know if this will be fixed any time soon.

Kind Regards,
Amar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants