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

Server's ip address could not be found. #325

Open
Nike682631 opened this issue Nov 18, 2022 · 0 comments
Open

Server's ip address could not be found. #325

Nike682631 opened this issue Nov 18, 2022 · 0 comments

Comments

@Nike682631
Copy link

So I tried to configure a rails app to use pume-dev and dev-tld-resolver. But it doesn't seem to work out.
Ideally after setting up puma-dev I should receive "unknown app" for any url like "abcd.test" or "efgh.test" but I just get
"abcd.test’s server IP address could not be found." or "efgh.test’s server IP address could not be found."
image

I'm using manjaro linux which is an arch based distro.

Below is my /etc/environment file

# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
DEV_TLD_DOMAINS=test

Below is my /etc/nssswitch

# Name Service Switch configuration file.
# See nsswitch.conf(5) for details.

passwd: files systemd
group: files [SUCCESS=merge] systemd
shadow: files systemd
gshadow: files systemd

publickey: files

hosts: mymachines mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns dev_tld
networks: files

protocols: files
services: files
ethers: files
rpc: files

netgroup: files

Also

ping test.test 

seems to be working fine. So at this point I'm not longer sure what might be the issue here

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

No branches or pull requests

1 participant