Fedora :: Resolving Host Name To IP Address?
Jan 25, 2011
I am using Fedora 7 in my server. Currently windows server 2003 (Active Directory integrated with DNS) is running. I want to switch my DNS to Linux. In my small organization there are only 20 users using static IP address and the IP are mostly permanent. so should deploy name server or I just populate eateries in /etc/hosts file ?
View 1 Replies
ADVERTISEMENT
Jul 27, 2010
At work we run DHCP. hostnames have the format: computername.city.mycompany.com
I have a laptop runing Fedora 13 and a desktop I use for backups, etc. My laptop is named copernicus. Desktop is named galileo. If ping either hostname from itself I get back the localhost IP address. If I ping the fully resolved hostname it tells me unknown host. The desktop is exporting an NFS share I use for backing up work data. I need the laptop to be able to resolve host names to mount the share since we use DHCP. The desktop is dual boot and if it is booted into windows my laptop can resolve the hostname properly. What do I need to do in Fedora to get it to register a hostname with the DNS and/or DHCP server? Should the domain and the search path below both say the same thing?
Here is resolv.conf on the laptop (I am at home). The desktop looks the same, except for a different nameserver. Both computers can resolve other hostnames, just not each other.
View 6 Replies
View Related
Jul 14, 2010
My ip address is not resolving to the domain name.
I have checked etc/host reboot and all but it's not working.
I can't seem to find where to post my issue then I found you and you are on line
View 6 Replies
View Related
Apr 30, 2010
I have a strange problem with wireless internet connection. We have 3 computers, 2 of them with Win 7 and 1 with Ubuntu 9.10 + Win XP.
Now if all three computers are connected to the internet through wireless router, the computer with Ubuntu 9.10 frequently fails to resolves hosts using various web browsers. I have to disconnect and reconnect to the router to get internet back but it only works for a maximum of 1 minute before it fails again. If the 2 computers with Win 7 logs out from wireless connection then the Ubuntu 9.10 machine works just fine for long periods.
If i boot with Win XP internet works perfect even when the other computers are connected but i really want to use Ubuntu 9.10. The wireless chip is an Atheros 9285.
View 5 Replies
View Related
Feb 6, 2011
I just set up my first ever bind9 DNS server running on ubuntu server 10.04. This server is also my gateway/dhcp server.
Here is what is weird: If I do a dig @8.8.8.8 dschuett-lmtl.scs.local from any of my clients it resolves?!?! Dig shows that it got the answer from MY Bind9 DNS server (and NOT Google's of course), but why is it still resolving when I'm telling it to use and external DNS server?
The other weird thing is that the SAME EXACT dig command above does NOT resolve internal host names if I do it from the Bind9 DNS server. - Which is what i would expect SHOULD be happening if done from the client machines...
Here are the dig results:
From any internal client:
Code:
View 2 Replies
View Related
Jun 15, 2010
I had configured Squid in RHEL 5 and facing an issue with pinging. Not able to ping any website,hostname is resolving to ip address but not able to ping
[code]...
View 8 Replies
View Related
Jan 15, 2011
I have a Windows 7 professional x64 pc that intermittently fails to resolve host aliases. The nameserver is a Fedora 11 system running bind 9.6.2-p2. Its cannonical name is trixter.intranet.org, and it serves several web sites, each with a different host alias: hg.intranet.org, svn.intranet.org, bugzilla.intranet.org, etc.
Occasionally, the Windows pc will be unable to find any of the aliased hosts, even when it can find the canonical name. The aliases will be un-resolvable for a period of several minutes, and then, with no intervention, they can be found again. Trixter can always resolve the aliases to itself.
Even stranger, when I use Cygwin from the problematic Windows 7 PC, it CAN resolve the hosts. I can ping hg.intranet.org from a Cygwin shell, but not from a cmd.exe window. Administrator privileges make no difference.
View 1 Replies
View Related
Mar 8, 2010
I have a CentOS 5.3 box running Samba and OpenVPN. I have the Samba server setup as a WINS server and OpenVPN pushes the WINS server to clients when they connect. Everything is working great except for one problem. When I connect to the VPN using a Windows machine at a remote location, I can ping all the host names of computers on the VPN network no problem at all. However, when I ping the host name of the OpenVPN server it resolves to 192.168.122.1. All my machines are on a 10.x subnet and I have no idea where this ip is coming from. I've checked the hosts file, lmhosts, etc. and can find no reference to this 192.168.122 subnet.
I think I recall seeing this 192.168.122.1 ip when I had installed the Virtualization group and it created a virtbr0 network bridge with that ip. I've since removed the Virtualization software and deleted that bridge.
View 9 Replies
View Related
Mar 8, 2010
I just installed a dual boot XP/Debian 5.0.4 setup on my Dell 5100 laptop. I now have constant problems with "resolving host" when using Debian. The connection when using a browser or downloading is noticeably slower than when using Windows or my Ubuntu install on my desktop. Also, whenever using the Debian install on my laptop, both it and my desktop, which both connect through the same Linksys router, constantly show "resolving host" (Chrome browser) until it just timeouts. Rebooting the DSL modem sometimes fixes it for a while (although it's still slow even then), but it eventually happens again. Turn off the laptop/switch to the XP OS on it, and the problems disappear on both the laptop and desktop. Is this a known problem for Debian 5.0.4?
View 7 Replies
View Related
Oct 20, 2010
HOW TO GET THE IP ADDRESS OF HOST IN LINUX WITH USING OF HOST AND NSLOOKUP COMMAND and after getting the ip address how to assign it in the variable
View 4 Replies
View Related
Oct 3, 2010
So the problem is that phpMyAdmin does not want to connect to host name (at remote server) but connects to that same server fine if it's ip address is used. Command line "mysql -h hostname ..." works fine and connects to host name. Mysqladmin also works.
it's giving error:
*****
Error
MySQL said:
#2005 - Unknown MySQL server host 'host.name' (2)
******
I've disabled SElinux and temporarily disabled Iptables but no luck.
Somehow I feel MySQL is not doing DNS lookup when used by Apache/PHP. So it just understands ip addresses.
I found that on MySQL startup you can disable DNS lookup. [URL]
Not sure if it's disabled and how to enable it at startup. Could not find anything at "System" -> "Administration" -> "Services".
Here is similar case with no solution [URL]
View 1 Replies
View Related
Oct 20, 2010
my problem is when iam typing
a=host test.com
echo $a
output
test.com has address 17.108.43.86
now i want to print only address (17.108.43.86) and don't want to print this line [[URL] has address] how to do this
View 3 Replies
View Related
Oct 17, 2010
I am setting up a server, with a static IP address. I thought I did the setup correctly, including setting up the static IP address. When the system restarted, I saw a message flash about some other host already uses address 72.86.26.xxx
Then, once logged in, I got a system message: System is not receiving updates, check network connection.
I went to System: Network Configuration, and under Devices, I saw:
Inactive Device: eth0
I clicked on activate, and I received the same message: some other host already uses address 72.86.26.xxx
The file /etc/sysconfig/networking/devices/ifcfg-eth0 reads:
#realtek Semiconductor, Ltd. ...
DEVICE=eth0
BOOTPROTO=none
BROADCAST=72.86.26.255
[Code]....
View 10 Replies
View Related
Feb 3, 2010
This is a fun one (x used in place of real IP's and hostnames):
Code:
$ host 134.174.xxx.xx
xx.xx.174.134.in-addr.arpa domain name pointer xxx.xxx.xxx.com.
$ host xxx.xxx.xxx.com
[Code].....
View 6 Replies
View Related
May 25, 2010
What is the command to show the host name of the ip address?Suppose, I've an ip address like 209.191.122.70, now I want to know its host name.What is the command for that?
View 7 Replies
View Related
Mar 27, 2010
a friend created an IP address for me.where do I find the Host in Linux in order to put the IP address.
View 2 Replies
View Related
Feb 20, 2010
if we wish to know who connect what time and from what host or ip address and logout and what he did, or what was activities.
View 9 Replies
View Related
May 12, 2010
i wanaa to config tlenet server and did the steps to enable it
but when i try to connect to server this error show :
telnet : connect to address 10.0.0.100 : No route to host
telnet : Unable to connect to remote host : No route to host
[URL]
View 10 Replies
View Related
Jun 16, 2010
I need a command that can show me the HOST-NAME as well as ip-address in a single stress.
View 4 Replies
View Related
Apr 16, 2010
If I have a dnsmasq server and it dished out a IP address that I don't want it to and it still gives it to my machine no matter how many times I restart windows and issue ipconfig /renew|release or enable/disable the adapter, how do I force it to give my windows machine an IP I want it to have?
The only way I've accomplished this in the past is by rebooting my slackware system.
View 10 Replies
View Related
May 29, 2011
I have just installed Fedora 15 and while I can ping websites from the CLI I cannot access sites via my browser, I have installed it on my laptop and it is not presently connected to a network, just a single device connecting wirelessly via a home broadband line to the internet,
What entries should be made in my hosts.conf file, I have entered
Do I need to make entries in the nsswitch.conf file, At the moment it reads,
I have also checked the permissions on these 3 files and all users and groups have read permissions.
View 6 Replies
View Related
Jul 7, 2010
can any one post the "Java Program to Display IP Address and Host Names in Wireless".
View 9 Replies
View Related
Aug 10, 2010
this issue which has suddenly occurred on both my Desktop and my Laptop. When I try to configure an IP address to any interface I get the following error....
uadmin@Ubuntu:~$ ifconfig br0 addr 192.168.10.1/24
addr: Unknown host
ifconfig: `--help' gives usage information.
uadmin@Ubuntu:~$
I get this for ethernet interfaces as well. I do not understand what is different as I was able to configure the ip address only the day before yesterday on the laptop..? The Desktop has had this issue for about 3 weeks now.
br0 Link encap:Ethernet HWaddr 32:70:40:91:06:25
inet6 addr: fe80::3070:40ff:fe91:625/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
[Code]....
View 2 Replies
View Related
Nov 6, 2010
We have Verizon as our ISP with a dynamic IP address. We published our website but the IP changes frequently. How can we set Network address translator(NAT) so our website can be published regardless of IP changes? We don't have domain name and have no intention for one.
View 2 Replies
View Related
Aug 9, 2011
I changed my ip address to a static one. Hope did it correctly. Now when I try to ssh or sftp I get this.The authenticity of host '192.168.1.28 (192.168.1.2' can't be established.RSA key fingerprint is 6b:31:28:58:ee:2b:77:36:08:64:a1:33:85:3c:f1:1f. Are you sure you want to continue connecting (yes/no)?
View 2 Replies
View Related
Jul 16, 2010
I am using Webmin to access a database. I finally acquired a static IP address. After entering it into the allowed host for the PostgreSQL server, I still can't access it through the SQL Manager for postgres in Windows. It doesn't seem to actually make the change. I am the new person managing this database. The old person use to be able to just add an IP address and it would connect. Is there something I am missing that I may need to install?
View 1 Replies
View Related
Jul 17, 2010
when tring to install (AssaultCube, UrbanTerror) i get this: unable to resolve host address `dls.urt.voxel.net'
View 2 Replies
View Related
Jun 7, 2010
I have UcLinux embedded linux. Hostname is updated in that machine. when I try to capture with MAC scanner tool the host name is not showing only IP address and MAC address is showing.Some IP phones are connected in the same network by which the hostname is shown in MAC scanner tool.how to go ahead to achieve the host name in the MAC scanner tool.
View 4 Replies
View Related
Jun 2, 2011
I've been for a while trying to configure my apache to host 5 domains as virtualhosts in the same IP address, but seems that neither one makes it through... it always takes first one, because it is the default:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin xxxxxxx@xxxx.net
[code]....
As you can see I tried the ServerName with the http://, in quotes, without it...
View 11 Replies
View Related
Apr 27, 2010
Writing a program that finds the IP address of a host name. Sorry forgot to include the line numbers, but where the $$$ is where the syntax error is. The errors are syntax error before "{" token and syntax error before "if". I've looked throught the code for a couple hours and can't figure out what's causing it. The code is attached below.
#define WIN
#include <stdio.h>
#include <stdlib.h>
[code]....
View 8 Replies
View Related