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


ADVERTISEMENT

Ubuntu Networking :: Low Retention Duration For Cached Addresses By DNSMASQ

Nov 12, 2010

I am experiencing severe DNS delays today, so I tried to install DNSMASQ by following the instructions given on several pages on the web to make it function as a local DNS cache.

The installation was successful, and after editing the configuration files as instructed, I now have a working DNS cache on my computer.

However, it seems that the addresses are not cached for a long time ; for a given domain, the speedup lasts for a few minutes. If I try to access a previously visited domain once more after several minutes, a new (slow) external lookup is made.

Since websites' IP addresses are not changed every five minutes, would there be a way to tell DNSMASQ to keep the IPs in the cache for a long time (several hours at least) ?
This is very important for me because the DNS lag that I am experiencing makes external lookups last 10 to 20 seconds.

View 1 Replies View Related

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 See All Devices On Local Network And Their Local Ip Addresses

May 16, 2010

I'd like a way to see all of the devices on my local network and what their local IP address is. I recall that I used wireshark to troubleshoot a similar problem a while back, but it doesn't seem to have a way to see all of the devices- only the traffic. (I'd like to do this without having to physically interface with my router if possible, and I am in an encrypted network if that matters)

View 6 Replies View Related

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 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 :: 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

Debian :: Running Dnsmasq In Lenny - Wvdial Connecting But Dnsmasq Doesn't Work

Dec 30, 2010

I am running dnsmasq in debian lenny, wvdial connecting but dnsmasq doesn't work, the /var/run/dnsmasq/resolv.conf file is empty this is /var/log/syslog:

The /etc/resolv.conf and /etc/resolvconf/run/resolv.conf is ok:

This is my /etc/dnsmasq.conf:

[url]

View 3 Replies View Related

Networking :: Ping Hostname - Just Like Windows?

Feb 7, 2011

Is there a way to ping the hostname in linux just like windows?

View 3 Replies View Related

Ubuntu Networking :: Windows Can't Resolve Lucid Hostname

Aug 22, 2010

I am currently facing one issue with my network. I have several computers and this is what happens, everything works fine when I use the ip address, but when it comes to hostname.

-Windows computers can't ping/see the computer 5 (while it is running linux), but they can see computer 3 while running ubuntu 8.10 and computer 2 while on Mac OS X.

-computers 2 and 3 can see/ping everybody while on Mac/Linux.

-computer 5 can ping everybody.

-computers 1, 2, 3 and 4 (on every OS) can see/ping computer 5 while on windows xp.

Basically, the problem is with computer 5, it can see, but it is not seen by other computers (just when running ubuntu lucid)Computer 5 is supposed to be a printer server, so it must be seen by the others regardless of OS.When I ping computers 5 the TTL is 64, when I ping other computers, TTL is 128. I don't think this means anything, but I am not sure.Initially I thought this was a printer issue, but then I realized is something related to network when I tried to use ping/explore the computer 5 by ip/hostname (it works by ip, but not by hostname).Computer 5 is sending the hostname to the router properly, it appears in the dhcp client list.

View 7 Replies View Related

Ubuntu Networking :: Unable To Ping Windows 7 Box By Hostname?

Feb 11, 2011

I have a windows 7 desktop hardwired to my wireless router and a windows xp laptop connecting wirelessly on the same network. I am able to ping the windows 7 box by its ip address but unable to do so by its hostname. This is very inconvenient since I would like to set up a share by hostname (doesnt change) and not by ip (changes occasionally since its dhcp).

View 8 Replies View Related

Ubuntu :: Dnsmasq Will Not Apply Changes In /etc/dnsmasq.conf?

Dec 27, 2010

ubuntu: 10.04dnsmasq: 2.52-1ubuntu0.1I've installed dnsmasq and it is performing DNS duties correctly. I'd like to limit access to the dnsmasq service to a specific address or interface. I've tried adding variations and combinations of the following to /etc/dnsmasq.conf:

Code:
interface=eth0
and

[code]....

View 1 Replies View Related

Fedora Networking :: No Hostname On Windows Workgroup?

Mar 8, 2009

So everything seams to be fine on my F10 boxes networking. I can ping computers on the network with both LAN IP addresses, and their hostnames. However, I can only access my F10 box with a LAN IP. In windows, I go to view workgroup computers... only the windows systems. If I go to the F10 system with samba via the IP address it works fine, just can't get to it with a hostname.

I'm wanting a static IP of 192.168.1.22. And on the windows workgroup "workgroup".

I'm new to doing things with linux that are remotely difficult... and well, this has proven to be. I can't work out if this is a SMB problem, general networking...

smb.conf (I've ommited the top info segment due to forum character limit, as well as the SELINUX notes)

Code:
#======================= Global Settings =====================================
[global]
# ----------------------- Netwrok Related Options -------------------------
#

[Code].....

View 7 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

CentOS 5 Networking :: PING From 5.5 To Windows Hostname/NETBIOS Name?

Jan 28, 2011

Givens

LAN
CentOS 5.5
Windows 7 machine (hostname/NETBIOS name: AwesomePC, LAN IP: 192.168.1.20)
Workgroup: Cake
No WINS server
No Domain
No AD

Goal

From CentOS 5.5, have

# ping AwesomePC

resolve to a ping on 192.168.1.20

Problem

# ping AwesomePC

resolves to some random public IP that seems to be coming from my WAN DNS (openDNS) servers

ATTEMPTS

Have edited /etc/nsswitch.conf, edited line: hosts: files wins dns Have edited /etc/resolv.conf, added line: search CAKE Have installed samba (# yum install samba) and run (# service smb start), with /etc/samba/smb.conf, workgroup = CAKE, name resolve order = wins host lmhosts bcast

Does # ping even care about samba? How can I get this to work?

View 5 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

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

Software :: Local Machines Showing Up With External Addresses?

Nov 9, 2009

I'm running a "relatively standard" home network environment. That is, I've got a DSL connection to my ISP, and am running a router/NAT environment that connects a number of machines -- Mac, Windows, and Linux -- to the external network. Internally, all the machines have addresses in the range of 192.168.0.x. However, because of the static/NAT address mapping, the machines whose internal addresses are mapped to external static addresses show up at external hosts as 216.xxx.yyy.zzz (the address range assigned to me by my ISP).

The other machines, which are on the network via NAT, show up as 66.xxx.yyy.zzz, the address assigned by my ISP. Finally, I'm running a local DNS server that handles addressing issues for my domains and sub-domains that are hosted on local machines. All the machines use this local server for their DNS, with my ISP's DNS server as secondary. All of this is to say that it's more or less a pretty typical configuration, and, in general, everything is working fine.

Here's where it gets tricky:

* Machine A is a Fedora 10 linux box, which hosts an externally visible domain and runs, among other things, a web server. It's assigned to one of the addresses that's mapped to a static IP address.

* Machine B is a MacBook Pro, running Snow Leopard (10.6). It typically runs at 192.168.0.6, which is NOT one of the addresses mapped to a static address, but "just" a NAT address.

Now, suppose Machine B hits the web browser run by Machine A: the log files should show the traffic arriving from the local address, 192.168.0.6. However, it instead shows up as coming from 66.xxx.yyy.zzz, the external NAT-affiliated address. This seems wrong, especially since all the other machines on my network show 192.168-type addresses when hitting the web server.

I now change Machine B's address to 192.168.0.5 -- one of the statically-mapped addresses. Browsing traffic is now arriving from 192.168.0.5, which is (I think) as it should be. I now change Machine B's address back to 192.168.0.6. The web traffic on Machine B is now reported to be arriving from 192.168.0.6 -- NOT 66.xxx.yyy.zzz. It's complicated by the fact that I don't know where to look for the problem. All the log files on all the machines seem relatively normal; there are least no glaring problems screaming out from them.

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

Ubuntu Networking :: Connect With Other Windows Users In A Local Network?

Jul 16, 2011

I have installed ubuntu 11.04 recently.. how can i connect ubuntu with other windows users in a local network...

View 1 Replies View Related

Networking :: Dnsmasq Not Resolving How To Investigate

Feb 12, 2010

EDIT: The problem is more basic than dnsmasq. On testing to see if the nameservers are reachableCode:root@ps1:~# ping 218.248.255.146connect: Network is unreachablePost title pre-pended with [DO NOT REPLY] dnsmasq on a recent Slackware 13.0 install is not resolving. Usually dnsmasq "just works". I have tried all the problem analysis techniques I know and am stumped.

First the symptoms:
Code:
root@ps1:~# vi /etc/dnsmasq.conf

[code]...

View 1 Replies View Related

Ubuntu Networking :: Rdesktop Map 9.10 Local Disk To Windows 2008 Server?

Mar 1, 2010

Using the following command, I can access a windows 2008 server: rdesktop -u myusername -d mydomain -p - -fP -r sound:local -r disk:myhome=/home/myhome serveraddress

connection works fine, and to start with I can see my local disk "\tsclientmyhome" and navigate around + open files. If I try to delete a file or rename a folder, I get an Error 0x8007048F:The device is not connected.

After this, I can no longer access the local disk. It says: "\tsclientmyhome is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. Attempt to access invalid address." As I understand it, I should be contacting myself about permissions... Can anyone tell me what I need to do on my local ubuntu machine to fix this?

View 6 Replies View Related

Ubuntu Networking :: Connection Sharing With Network Manager And Dnsmasq?

Jan 1, 2010

how to change the IP range provided by default by Network Manager / dnsmasq from 10.42.43.-- to something else?

I have setup a working network using a Bell wireless modem (Canada) and Network Manager in 8.10, 9.04, and 9.10.to do Internet connection sharing. In 8.10 the only way I could get it to work was with WICD and KPPP, many hours spent on this one. I got it to work in 9.04 and 9.10 using network manager, but certainly not out-of-the-box. If someone would like some tips on how I did it, in each case, let me know.

My current challenge is trying to set the dhcp range of dnsmasq (which I am 99% sure is what is handing out addresses) from th 10.42.43.-- address range to a 192.168.0.-- range.

I HAVE edited /etc/dnsmasq.conf and can get the edits to this file to break the setup (dnsmasq will not start) but have not been able to get it to change the IP address range.

It seems that either this file is ignored, or overridden by some other process. I have looked at the very good post at [URL] about dnsmasq but this does not do the trick.

By the way, the way I can get this to work is to start NM, establish my cellular internet connection, then kill dnsmasq then establish my ICS network (on eth0). If I don't kill dnsmasq, then it does bring up the connection, but it then shuts down in a matter of seconds. It is all very manageable using a launcher (kdesudo pkill dnsmasq) on the task bar, but not all that elegant.

the IP range and where this is provided to Network Manager or the network itself is my real question now.

View 7 Replies View Related

Fedora Networking :: Failing To Configure Dnsmasq?

Jun 11, 2009

I have configured a Fedora 10 server on a mixed Win / ix network but am unable to get DNS to resolve on my Fedora boxes.My DHCP is provided from a D-Link 108G Router - but this will not provide DNS.Therefore I have tried to configure dnsmask to provide just DNS and not DHCP. I can ping around my 192.168.1.x network by IP but not name

View 4 Replies View Related

Networking :: DNSMasq - Cannot Ping Win7 Machine By Name

Mar 4, 2011

This is the scenario: gentoo box (distro shouldn't be relevant here) and win7 box. Gentoo box is dhcp and dns server, via dnsmasq. From win7, I can ping gentoo by both ip and name. No problem there. From Gentoo, I can ping win7 by ip, but not by name. The dnsmasq log seems to receive the name ok, it's "Tere-PC". I have been looking around for many hours now and I know there must be something simple I am not taking into account.

Code:
dnsmasq-dhcp: 55480937 available DHCP range: 192.168.0.50 -- 192.168.0.150
dnsmasq-dhcp: 55480937 client provides name: Tere-PC
dnsmasq-dhcp: 55480937 vendor class: MSFT 5.0 .....

Code:
# ping Tere-PC
ping: unknown host Tere-PC
Is there any way that dnsmasq, which is supposedly a dns server, will link this name to the given ip?

View 1 Replies View Related

Networking :: Set The TTL To 2 Days For All Stuff Cached By Dnsmasq?

Mar 20, 2011

I have 2 questions:

1. How can I set the TTL to 2 days for all stuff cached by dnsmasq?

2. When I go to [URL] from my browser and then execute [URL] the query time returned is > 0 ms. When i execute it again it is 0 as it should be. So is dnsmasq not caching the domains looked up by my browser or what? in /etc/resolv.conf I have only 127.0.0.1 and for the upstream servers I have a different file that is only used by dnsmasq.

View 1 Replies View Related

CentOS 5 Networking :: Dnsmasq Not Starting Correctly?

Nov 2, 2009

Since latest large update to CentOS 5.3, which also upgraded to 5.4, I have problem with dnsmasq. CentOS is real server on real hardware (not virtual). I use dnsmasq as dhcp server as usual. On hardware startup or reboot, these lines are included in /var/log/messages

Nov 2 19:06:16 server avahi-daemon[2965]: New relevant interface eth0.IPv4 for mDNS.
Nov 2 19:06:16 server avahi-daemon[2965]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.0.1.

[Code]....

View 14 Replies View Related

Networking :: Installed Dnsmasq To Speed Up Dns Querry For My Network

Dec 20, 2010

I installed dnsmasq to speed up dns querry for my network. i didn't really change any thing in my dnsmasq.conf file. i only just put my upstream dns addresses in resolv.conf. i have dchp running and configured to issue the ip address of the system running dnsmasq as dns ip to the dhcp clients. But i have noticed that if i do ipconfig /all on my windows clients, instead of the dnsmasq server ip showing, i still see the dns ip of my upstream provider. by this, iam assuming that the client are not using the cache even though the service is running on the server.

View 6 Replies View Related







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