puma / puma-dev

A tool to manage rack apps in development with puma

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server's ip address could not be found.

Nike682631 opened this issue · comments

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