# New virtual domain does not respond to ping

**URL:** <https://forum.virtualmin.com/t/new-virtual-domain-does-not-respond-to-ping/104321>\
**Category:** Help! (Home for newbies)\
**Created:** [January 27, 2020, 11:46pm UTC](https://forum.virtualmin.com/t/new-virtual-domain-does-not-respond-to-ping/104321 "2020-01-27T23:46:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pascol](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/p/94ad74/32.png) [@pascol](https://forum.virtualmin.com/u/pascol)\
**Post date:** [January 27, 2020, 11:46pm UTC](https://forum.virtualmin.com/t/new-virtual-domain-does-not-respond-to-ping/104321/1 "2020-01-27T23:46:54Z")

</div>

Hello  
I just created a virtual server, everything seems ok, but when I ping my domain from outside my server, the answer is unknown host…  
When I ping from inside the server the ping is ok.  
Thanks for any help.

Pascal

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [January 28, 2020, 2:56am UTC](https://forum.virtualmin.com/t/new-virtual-domain-does-not-respond-to-ping/104321/2 "2020-01-28T02:56:56Z")

</div>

That means DNS isn’t working. The fact that you can ping from inside (when the server is itself the DNS server) but not outside (where the root servers are queried) probably means you don’t have glue records setup properly at your regstrar. That’s outside control of Virtualmin, and how you change it is up to your registrar.

I wrote a blog post about this years ago: [http://inthebox.webmin.com/dns-for-web-hosting-glue-records](http://inthebox.webmin.com/dns-for-web-hosting-glue-records)

But, there’s tons of other documentation about this topic on the web; your domain registrar probably has coverage specific to their UI in their docs, and that’s probably the best place to start.

---

<div class="post-metadata">

**Author:** ![pascol](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/p/94ad74/32.png) [@pascol](https://forum.virtualmin.com/u/pascol)\
**Post date:** [January 28, 2020, 1:32pm UTC](https://forum.virtualmin.com/t/new-virtual-domain-does-not-respond-to-ping/104321/3 "2020-01-28T13:32:27Z")

</div>

Thanks a lot for your help Joe, I read your article and I followed instructions, but when I arrived to to restart bind9 and execute service bind9 status to check if bind9 is ok I got the following:  
● bind9.service - BIND Domain Name Server  
Loaded: loaded (/lib/systemd/system/bind9.service; enabled; vendor preset: enabled)  
Active: failed (Result: exit-code) since Tue 2020-01-28 13:22:38 UTC; 3min 57s ago  
Docs: man:named(8)  
Process: 10907 ExecStart=/usr/sbin/named -f $OPTIONS (code=exited, status=1/FAILURE)  
Main PID: 10907 (code=exited, status=1/FAILURE)

named[10922]: using default UDP/IPv6 port range: [32768, 60999]  
named[10922]: listening on IPv4 interface lo, 127.0.0.1#53  
named[10922]: binding TCP socket: address in use  
named[10922]: listening on IPv6 interface lo, ::1#53  
named[10922]: binding TCP socket: address in use  
named[10922]: unable to listen on any configured interfaces  
named[10922]: loading configuration: failure  
named[10922]: exiting (due to fatal error)  
systemd[1]: bind9.service: Main process exited, code=exited, status=1/FAILURE  
systemd[1]: bind9.service: Failed with result ‘exit-code’.

As far as I can understan there is a problem with the TCP socket but I don’t know how to solve this.

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 30, 2020, 5:39am UTC](https://forum.virtualmin.com/t/new-virtual-domain-does-not-respond-to-ping/104321/4 "2020-04-30T05:39:27Z")

</div>

Closed on April 30, 2020, 5:39am UTC


