Author Topic: 'localhost' forbidden as DNS name  (Read 739 times)

Offline mauriceg

  • Jr. Member
  • **
  • Posts: 43
'localhost' forbidden as DNS name
« on: July 17, 2012, 03:31:19 AM »
This question comes up when I try to install a VOIP phone and a Wi-Fi access point.

Typing the numerical URL into Firefox (e.g. 0.0.0.0) tells me that this service is not accessible.

So it appears that I need to configure DNS to allow access.

In PCLinuxOS Control Center (i.e. Drakwizard ?) 'Configure DNS', I get the message 'You need to readjust your hostname. 'localhost is not a correct hostname for a DNS server. Hostname must be a FQDN - fully qualified domain name'.

I'm very uncertain about this. It may be that changing my host name could cause problems ...

All this arises from simply trying to install two devices !!! One thing leads to another, which leads to another etc etc.

Can anyone clarify this please ?

Maurice George (UK)

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6267
Re: 'localhost' forbidden as DNS name
« Reply #1 on: July 17, 2012, 03:47:15 AM »

try to reconfigure your network interface and somewhere along the process, you will see a field where you can enter a host name. Put something else there, finish up the process and restart your computer and a new hostname will be operational.

what were you doing trying to do entering "0.0.0.0" for an address?

That address in most cases means "all present interfaces" and its used primarily by services that listens to network interfaces
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: 'localhost' forbidden as DNS name
« Reply #2 on: July 17, 2012, 03:50:34 AM »

Offline mauriceg

  • Jr. Member
  • **
  • Posts: 43
Re: 'localhost' forbidden as DNS name
« Reply #3 on: July 17, 2012, 04:02:49 AM »
The instructions for installing the VOIP phone (Cisco SPA 301) tell me to open 0.0.0.0.

Maurice G.

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15515
  • ┌∩┐(◕_◕)┌∩┐
Re: 'localhost' forbidden as DNS name
« Reply #4 on: July 17, 2012, 04:45:37 AM »
The instructions for installing the VOIP phone (Cisco SPA 301) tell me to open 0.0.0.0.

Maurice G.

Could it be advising you to enter the address in the format of 0.0.0.0  ?
PCLinuxOS 32bit KDE 4.10.4; kernel-3.4.11-pclos1.bfs & 64bit 3.4.38bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5383
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: 'localhost' forbidden as DNS name
« Reply #5 on: July 17, 2012, 10:43:28 PM »
This question comes up when I try to install a VOIP phone and a Wi-Fi access point.

Typing the numerical URL into Firefox (e.g. 0.0.0.0) tells me that this service is not accessible.
So it appears that I need to configure DNS to allow access.



That isn't going to work.

Quote
In PCLinuxOS Control Center (i.e. Drakwizard ?) 'Configure DNS', I get the message 'You need to readjust your hostname. 'localhost is not a correct hostname for a DNS server. Hostname must be a FQDN - fully qualified domain name'.



That is correct 'localhost' is not even close to being a FQDN.

A fully qualified domain name (FQDN), sometimes referred to as an absolute domain name, is a domain name that specifies its exact location in the tree hierarchy of the Domain Name System (DNS). It specifies all domain levels, including the top-level domain and the root domain.

For example www.mydomainname.com is a FQDN

Quote

I'm very uncertain about this. It may be that changing my host name could cause problems ...

All this arises from simply trying to install two devices !!! One thing leads to another, which leads to another etc etc.

Can anyone clarify this please ?

Maurice George (UK)




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline Phil

  • Hero Member
  • *****
  • Posts: 769
Re: 'localhost' forbidden as DNS name
« Reply #6 on: July 18, 2012, 12:59:33 AM »
Maurice,

Is this the Firefox message you are getting?

Firefox can't establish a connection to the server at 0.0.0.0.

  The site could be temporarily unavailable or too busy. Try again in a few
    moments.
  If you are unable to load any pages, check your computer's network
    connection.
  If your computer or network is protected by a firewall or proxy, make sure
    that Firefox is permitted to access the Web.



I think you are doing it wrong, and barking up the wrong tree.....

0.0.0.0 is the default gateway address to the internet. That will be via your router or wireless access point, probably not via your computer.
You need to tell the voip phone how to get there.

I have not used a cisco voip phone, my own is different but the principle should be the same. (refer to your previous thread on the phone).

My router is 192.168.0.1. My voip phone is 192.168.0.10. My main machine is 192.168.0.XX (not material)

When configuring my phone I use my main machine to access it, or any other machine.

I access the voip phone via Firefox and check connection with konsole terminal:

konsole:
> ping 192.168.0.10
>yes the voip phone there says the terminal

>ping 192.168.0.1
>yes your internet gateway is there

>ping 192.168.0.XXX
> yes this device, say wireless access point, exists

firefox:

From whatever machine you are using access your voip phone configuration:
192.168.0.10
ok, you are now at the admin screen of your voip phone

Now you configure:

Gateway> how does the voip phone get to the outside world> presume via router 192.168.0.1
(it might be DHCP which is automatic address allocation)
(maybe you are using a wireless aceess point, so you tell it that address, unless you are using DHCP)

Your personal voip settings provided by your voip provider


I read through the cisco verbage and it is not clear. Not sure why you are pointing your voip at your computer. To me it sounds odd.

Forgive me if I am confusing you.

In essence:

voip phone is just another device on your network
It had its own IP address
Your own computer is yet another device with its own address
Your voip phone wants to access the internet via router or wireless point, what is the routing to the outside world 0.0.0.0 it is asking
You say the gateway address to the outside world is 192.168.0.1 or the addy for your WAP 192.168.0.XXX
Your voip phone probably does not need you computer
You can use any computer to access your voip phone
Your voip phone should now access the outside world and you need to tell it your personal voip account settings

Before bashing your head against the wall further go over the documentation and consider each setup question (and if issue post the question it asks back)

Also again take a look at the callcentric.com support setup for some inspiration (earlier model from memory)

Phil

ps keep going, they can be a pain

Offline Phil

  • Hero Member
  • *****
  • Posts: 769
Re: 'localhost' forbidden as DNS name
« Reply #7 on: July 18, 2012, 01:10:17 AM »
addendum:

"Typing the numerical URL into Firefox (e.g. 0.0.0.0) tells me that this service is not accessible."

yes it is. You have posted to the forum via your computer.

0.0.0.0 is the shorthand for all addresses on the internet away from your local network

your machine 192.168.0.XX > router 192.168.0.1 > outside world 0.0.0.0