Networking :: Specify Hostname (in Local Box, Not In DNS Server)

May 31, 2010

What is the right way to specify hostname(in local linux box, not in DNS server):

myhost1
or
myhost1.mydomain1

View 2 Replies


ADVERTISEMENT

Ubuntu Networking :: Pinging Hostname Rather Than Hostname.local?

May 24, 2010

I'm trying to ping another Ubuntu computer on my local network. If I try doing,ping <hostname>then I get the messageping: unknown host <hostname>however, if I doping <hostname>.localthen I get a response back. I was wondering how I can change it so that I can ping without having to append .localI've installed winbind and modified my /etc/nsswitch.conf file but this has made no difference.

View 2 Replies View Related

Ubuntu Networking :: Can't Ping Hostname In .local Domain

May 14, 2010

ever since upgrading from karmic to lucid, i cannot ping fqdn hosts in .local tlds. nslookup & dig work, but most other utilities fail (ping, traceroute, etc...). i know .local is an invalid tld, but apple seems to have made it a defacto standard on private networks, so i'd imagine somebody else has seen this issue before... is there a simple fix that doesn't require managing hosts file entries on a bunch of systems?

View 3 Replies View Related

Ubuntu Networking :: Hostname.local Addresses On Windows (using Dnsmasq)

May 5, 2010

I'm trying to get the Windows machines on my network to access hostname.local addresses. I want to do this without setting up extra software or settings on the Windows computers.

I already have dnsmasq on my server handling all DHCP and DNS requests. How can I get dnsmasq to return an IP address for a .local address?

View 9 Replies View Related

Ubuntu Networking :: Not Showing Proper Hostname On Local Network

Mar 8, 2011

I found that I needed to connect them to the same workgroup, which I now have and for the most part it works. However, for one of the computers I do not want to use a .local domain, rather I need to use a .org. But no matter what I do, other computers on the network think it is a .local hostname. Currently the /etc/hostname on the computer file is as follows:

[Code]...

Here is a screenshot of an ipscan done from another computer on the local area network so you can see what I'm talking about.

View 2 Replies View Related

Networking :: Referencing Hosts By (special) Hostname For IPv6 Link Local Address

Apr 30, 2010

I can reach other hosts by means of their global addresses by either the IP address or hostname (that has the global address). What I want to (also) do is have a hostname that references the IPv6 link local IP address (an AAAA record in DNS, or just the fe80::<whatever> address in /etc/hosts) and use that host name in commands to access that host. The problem is, an interface ID is needed when making such a reference.

It sure looks like the programs just pass the host name string on to the resolver library, which does not understand the significance of the '%' even though it could find and see that the name preceding the '%' is consistent with that being an IPv6 link local address (e.g. the logic could have been "split at first % and see if preceeding name is found as a link local address and accept that if so, or ignore the split otherwise" ... but it isn't). Is there a different syntax for this ... or was it overlooked in the design of programming around IPv6?I want to be able to address a host by its link local address, while still using a mnemonic instead of having to type the IPv6 address.

View 1 Replies View Related

General :: Ubuntu 9.10 Networking Hostname / Can Ping The Linux Box Using Its Hostname From A WinXp. But Cannot Do The Reverse?

Jan 3, 2010

I have a network of 2 WinXP machines and one linux box. I have fiddled around with the settings as you do when learning. The network is working. The network neighbourhood on the WinXP machines recognise the linux box and vice versa, (the linux Places|Network recognises the 2 WinXP). I can Ping the linux box using its hostname from a WinXp. But I cannot do the reverse. I get an 'unknown host' response. I can ping the linux to itself using its hostname.

View 7 Replies View Related

Networking :: FC13 Install Can Ping By Hostname - Ssh By Hostname Fails

Jul 29, 2010

I'm having an issue on two Fedora Core 13 machines where I can ping others by hostname, but the hostname resolution fails whenever I use ssh/scp/vnc/etc. I can still do these things by IP address, just not by hostname. RHEL5.3 machines on the same network with the same configuration do not seem to have this problem.

Here's the not-so-quick-and-dirty description of the situation:

I know that there is a virtual router at 192.168.31.1 and another at 192.168.30.1. I also know that there is another network (let's call it 90.90.90.0) and on that network lies a number of resources. By nature of this configuration, any machine on 90.90.90.0 can be accessed by any 192.168.x.x, but not the other way around. Beyond that is out of my hands and currently out of my scope of knowledge.

I have a dnsmasq server on 90.90.90.10 that operates as a secondary nameserver, another machine out of my sphere of influence is the primary nameserver (90.90.90.31).

The secondary nameserver on 90.90.90.10 holds the hostnames of our development machines. The problem is that in some cases, while I can ping by hostname all day long, services such as ssh, scp, vncviewer, etc all fail to resolve the hostname. In other cases I can do all of these things.

Every machine has an equivalent resolv.conf:

As an example, I will show the output of a handful of my development machines:

I also included columbia as a one-way test -- even though it cannot access 30.x or 31.x, they can access it:

columbia -- physical machine, Red Hat Enterprise 5.3, IP 192.168.100.200

Okay, so here are the various outputs. Remember, nibbler, discovery, and atlantis can ALL:
- Ping by IP address
- Ping by hostname
- ssh, scp, vnc, etc by IP addess

Additionally, the SERVFAIL reply from 90.90.90.31 is expected since my dnsmasq server is on the secondary server.

Note that the only machine that can both ping and ssh/scp/etc by hostname is nibbler, which also happens to be the only one of the three running RHEL5.3 instead of FC13. Other virtual and physical machines running on the 192.168.31.0 and 192.168.30.0 networks (all running RHEL5.3) work just like nibbler does. So the problem seems to only affect machines running FC13.

Final note: selinux is disabled, iptables is disabled, ip6tables is disabled.

Other than that, discovery is a brand-spanking-new install straight off of the FC13 DVD. atlantis has been around longer, but its just a file server so I haven't done anything too crazy to it.

View 3 Replies View Related

Slackware :: Can't Ping Any Local Hostname

Feb 20, 2010

I've setup two slackware in a Dell Inspiron 640m e in Acer Aspire One D150.

In my router the domain is "home", the two slack use wicd (dhcpcd backend) to connect. I can go in internet.

The problem is that in my router panel I can see the hostname (so dhcpcd send the right one) but they can't ping other machine in the lan (windows 2000, nas or other linux box).

Now I can't use a fixed ip (i change several networks with different routers).

I think I miss something that can ask to my router the hostname.

Anyway I was able to ping Dell.local and Acer.local with Ubuntu karmic.

View 14 Replies View Related

Ubuntu Networking :: Hostname Changed But Email Still Using Old Hostname?

May 22, 2011

I have an ubuntu 10.04 server with hostname "abc.domain.com". However, due to migration, we had to change to hostname to something else, "xyz".

I have done changing /etc/hosts and /etc/hostname and run /etc/init.d/hostname start.

Checking the hostname and all shows it is now using hostsname of xyz. However, email sending out is still using old hostname. We have some scripts that will send out alerts like failed rsync or hdd space full to my email account. But I see the sender is still "root@abc.domain.com".

How do change that to xyz? I am using postfix. I have edited main.cf and restarted postfix but no go.

View 1 Replies View Related

Ubuntu Networking :: Can't See Server On LAN With Hostname

Mar 22, 2011

I have set up an Ubuntu 10.10 server with SAMBA shares and Apache web server. Everything was working fine. Then there was a power failure and after I restarted the server the XP pc's can see the server using the hostname. They can only see it using the ip adress. I haven't change anything on server or client side. Just the restart of the server.

View 3 Replies View Related

CentOS 5 Networking :: Access The Server Using Its Hostname ?

Sep 17, 2010

I've completed the installation of a CentOS server.Running the setup utility as root, ive set up a static IP and installed apache. Now this works ok. I can type in the servers IP address from my browser/putty/winSCP and access the server within the intranet. The problem is that i would also like to access the server using its hostname, e.g. http://centos or whatever Currently i cannot do it. I've searched the forums, edited the /etc/sysconfig/network and /etc/hosts to no avail no matter what i do i cannot access it. i've disabled some services so im not sure if this is the fault.

View 1 Replies View Related

Ubuntu Networking :: Use A Dyndns Hostname To Connect To Server

Apr 9, 2010

I've recently set up an Ubuntu server and from within the network I can do several things like: log in via SSH, transfer files via FTP, and remotely control Torrents from other computers. My end goal is to be able to access these services by using my dyndns hostname (example.dyndns.org)from an external network.

When I type my dyndns name in my web browser it opens up my router page. How would I set things up so that I can just type my dyndns hostname to point directly to my server, instead of the router page?

All computers are connected to a router which is connected to an ADSL modem, with automatically assigned I.P addresses.

View 3 Replies View Related

Networking :: Samba Only Access By Ip But Not Hostname/server String

Jan 31, 2011

I am using samba version 3 (probably), and the problem is that the linux based nas can only be accessed via its ip 192.168.x.x but not its hostname /server string appointed by the smb.conf file:

Code:
[global]
netbios name = NAS
server string = NAS
smb passwd file = /etc/smbpasswd

[Code]....

View 3 Replies View Related

CentOS 5 Networking :: Hostname Changes Automatically On A Server With Static IP?

Jan 7, 2009

Server has been moved to a different locations and so the IP has been changed now the hostname is changed to something other that what it was before.

Could it be the rDNS that is causing this?

Note: this is not a DHCP connection.

View 1 Replies View Related

Ubuntu Servers :: Apache Setup For Hostname Access On Local Network

Apr 13, 2011

I have installed Ubuntu on four machines at work and have been blown away. On my machine I have Apache setup for web development and other machines can "see" it using my IP address. I would like to have it so they can access by the name of my computer though. I have no local DNS server so I guess I need to hard code the relationship in each machine? Ideally I'd actually like to be able to use subdomains (which I use locally to avoid annoying .htaccess path problems). i.e. from another machine on the network to go to [URL].

View 3 Replies View Related

Networking :: Ubuntu Server Cant Ping Or Connect External / Can Resolve Hostname And Domain

Oct 15, 2009

As the title suggest, I have downlaoded the latest copy of Ubuntu Server from the ubuntu website.Everything installed fine. DHCP configured ok as far as I can tell. I can ping other machines on my network (which are running Windows) and they can ping the Ubuntu machine and conenct to Apache which is running on it.If I try to ping google.com or any other domain, it gives the correct IP address but gives no response to any pings, dont telnet on port 80 (or any toher potr for that matter) on any machine on the internet. I checked the settings using ifconfig to see what DHCP had assigned, and they matched the windows machines configuration (other than the IP address obvisouly). I tried assigning a static IP, even reserving a particular IP for my NIC.

Whatever I do, i cant connect to any machine outside the network via IP or domain.I have searched everywhere and tried everything i can find on the net but still to no avail.The Windows machines are part of a domain called alcom-uk.local and run off of a Windows Small Business 2003 Server. Not sure if i need to manually setup Ubuntu to connect using a domain or anything.

View 14 Replies View Related

Networking :: Server On Multiple VLANs Server Not Responding To Pings From Non-local Subnets?

Jul 14, 2010

I've got a machine running Ubuntu Server that is on several VLANs. Each VLAN has its own subnet and the server has an address on each subnet. The switches are set to allow tagged traffic to the server for each VLAN that it is on. Switch ports ending with workstations are given untagged ports on whatever VLAN is appropriate. Workstations are given addresses on a subnet for each VLAN via DHCP. All this works great and hosts on any subnet/VLAN can access the server as normal via its address on that subnet/VLAN.

Accessing the machine by its address on a non-local subnet is where I run into a problem. Inter-subnet traffic has to go through a router, which has been set up appropriately. Running tcpdump on the server and pinging it from a workstation on a subnet, using its address on a different subnet, shows the server receives the ping, but sends no response:

Code:
sudo tcpdump -i vlan4 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode

[code]...

View 8 Replies View Related

Ubuntu Networking :: Can't Ping Local DNS Server

May 28, 2011

Last night I setup bind9 on my server. I created a local domain (name.local). The server's ip address is 192.168.1.254

The issue that I'm having is that with my ubuntu laptop, I can't ping the name of the server.

Code:
user@prefect:~$ ping name.local
ping: unknown host name.local
But when I do the same ping from both the server and a XP computer, it will respond.

I can ping the laptop with it's name (prefect.name.local) from both the server and the xp computer.

This is my /etc/resolv.conf file:

Code:
user@prefect:~$ cat /etc/resolv.conf
domain name.local
search name.local
nameserver 192.168.1.254

Also, when I do nslookup name.local or dig name.local, the return with no errors.

Why is it that I can't use the name of the server to access it and that only the ip address works?

View 2 Replies View Related

Networking :: Connect To A Nfs Server On Local Network?

Sep 6, 2010

I am trying to connect to a nfs server on my local network ( the server is a fedora 12 box ) using slackware 13.1 but I am having some problems. First of all I am sure that the server is configured ok and my desktop can ping the server but when I try :

mount -t nfs 10.0.0.1:/home/usr/file /home/usr/tmp I get the following error : mount.nfs: No route to host

And when I try to rpcinfo -p 10.0.0.1 I get the error :

rpcinfo: can't contact portmapper: RPC: Remote system error - No route to host

View 5 Replies View Related

Networking :: Connecting Vnc To A Local Computer Behind A Server?

May 7, 2010

i would like to connect from my home pc to my local machine at the university (fedora 12) behind a main university server(linux) through vnc. specifically,to connect normally through ssh/X to my local pc i have to ssh first to the main university server and then ssh to my local pc. Namelly:

ssh -Y -l loginname main.server.name
and then
ssh -Y my.local.machine.

On my local machine there is a vnc server running that I would like to access it from home (linux machine). Actually linux is running everywhere.

View 8 Replies View Related

Ubuntu Networking :: Forwarding A Port Behind A Local DNS Server?

Jul 9, 2010

Here's my (admittedly complex) situation:

I set up a dynamic DNS address for my home network. Let's call it [URL]. Then I set up one of my machines with a bind9 DNS server and pointed my router's DNS setting to it. I did this so that I could resolve awesome.server.com from machines inside my network and have them correctly find my server. Then I set up a second machine to serve web pages using [URL]. I did this by forwarding port 9200 on my router to port 80 on that machine. This works, but of course, it only works from outside my network.

What is the best way to get [URL] to work from inside my network?

I've tried setting up the iptables on my server to forward that port, but it just times out. I used these rules that I found by searching the internet:

Code:
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 9200 -j DNAT --to 192.168.0.300:80
iptables -A INPUT -p tcp -m state --state NEW --dport 9200 -i eth1 -j ACCEPT

However, those rules might be failing because they are intended to forward ports requested from outside the network. I must admit, this iptables stuff is way, way over my head. Is there a different method that I must use to make it work inside my network? Or is there a better way besides iptables?

View 1 Replies View Related

Ubuntu Networking :: Web Server Only Accessible By Local Network

Nov 3, 2010

I just setup a ubuntu 10.10 box learn linux and to play around with, and want it to host my website. I can see the web site on my local network no problem but the outside world gets a time out message. I check to make sure everything is forwarded correctly on my router and the dns so i has to be something in ubuntu blocking out-of-network traffic how do i turn port 80 on to the outside world

View 4 Replies View Related

Ubuntu Networking :: How To Connect Local Server From Internet

Nov 9, 2010

I have dynamic internet connection. In my network one machine run glassfish server in port 8080 (it IP address 192.168.1.3). If I type http://192.168.1.3:8080/ that load my glassfish server page. What I want is using dynamic IP like http://<DynamicIP>:8080/ load my glassfish server page. How can I do it ? My router is Dlink GLB-802C > I haven't good knowledge about network.

View 3 Replies View Related

Networking :: Connecting To Local Network Data Server?

Jul 1, 2010

I'm trying to connect to a data server (basically a big hard drive) in my lab with my computer. On the Mac that's at the workbench next to me, you enter Go -> Connect to Server. From there, enter the IP address that I have (I can't find a server name--just the IP.). It asks you which subsystem you want, queries you for a user name & password, and then opens a window with all the files. Meanwhile, on my Ubuntu machine, I have a "Connect to Server" option under "Places" on my main menu. But when I choose that, I need to select what kind of server it is, from several options that don't seem right. (It's not FTP, it's not SSH, it's not a form of HTTP, and that leaves "Windows share?") I've tried several things, but usually get back 'Cannot display location "smb://<IP-ADDRESS>/" The specified location is not mounted'. I've tried many ways of mounting this drive, but it usually gives me permission denied errors (even though I *know* I have the right login and password--I've logged in using the aforementioned Mac).

View 13 Replies View Related

Networking :: Dns Server Not Able To Resolve Local Domain Names

Mar 19, 2009

I recently installed bind9 on mandriva 2008.1, after having done the necessary configuration.. I still can't find my domain I configured cant ping on other machines on the LAN but can actually ping on any other website on the internet even though name server is configured to point to local machine..... I dont understand what I'm doing wrong.

View 14 Replies View Related

Networking :: Local Dns Server Cache Size Optimization

Apr 24, 2011

Does anybody have some thoughts about a local dns server cache size? What is the optimal one? In terms of memory consumption and number of re-enters into the cache. Lets say that default size is 150, so I've change this to 500 and after some time I see 379 re-enters into the cache. Simply put I need to increase the cache size 2 times. But due to the fact that browser preloads dns names it is not possible to interpret the number of overwrites in terms that it is not possible to say if useful cache entries were overwritten or those that the browser precached ( in other words not needed ). In this case it is ok to overwrite unwanted entries because it is not likely that I'll need these entries anyway

I'm running the dnsmasq on an embedded system with limited ram and with an umts dongle attached. It is important to keep the cache size as small as possible to reduce memory usage and at the same time to reduce number of external lookups because dns latency of the umts connection is high (1-2sec for the dns query)

View 1 Replies View Related

Networking :: Sync Local Profiles With Samba Server?

Mar 29, 2010

I've got a hybrid network of Windoz and Mac clients that I want to auth to a CentOS Samba server (currently running a tdbsam backend but will eventually be migrated to an OpenLDAP backend)...what is the best solution for "sync'ing" the Mac clients (mostly laptops) to the server, all the solutions that I've seen suggest that I should simply map the users home drive to the PDC but that doesn't mac much since to me seeing as they need to access their computers data while they're off site...is there a way to "sync" user profiles in Linux>?

View 1 Replies View Related

CentOS 5 Networking :: Can't Reach Server Within Local Network

Sep 24, 2010

I'm setting up my server under CentOS 5.5 (text mode) and I installed cherokee server but I couldn't reach it with the ip given by ifconfig. So I figured it might be an problem within cherokee. I also wanted to install webmin so I did that to see if I could reach that one. But also the webmin server is not reachable (I know the port number should be behind the ip ). So if I look up ifconfig I see the server has got an local ip (192.168.1.42) but I can't reach it from another computer in the same local network.

View 1 Replies View Related

CentOS 5 Networking :: Benefit Of Creating A Local DNS Server?

Feb 12, 2011

Wondering if the internal network will benefit of connecting to a local DNS server, rather than my ISP dns server. Can I create this local DNS server, without having an external domain, pointing to my server ?

All I want is faster lookup of known hostnames, both internally (hostnames) and externaly (cnn.com etc..)

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved