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


ADVERTISEMENT

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

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

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

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

General :: Set The Retention On System Logs To A Minimum Of 180 Days?

Oct 8, 2010

Where/how do I set the retention on system logs to a minimum of 180 days? Further, where do you set password failure enforcement policies?

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

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

Networking :: Network Sharing Work After Disable Dnsmasq?

Mar 17, 2010

I'm sharing the wireless signal (wlan0) on my fedora 12 machine.However, when the computer starts up I have to execute:> service dnsmasq stopOnly after this, will the computer share the internet signal (through eth0).Why is that? Should I uninstall dnsmasq?I've already removed it from chkconfig:> chkconfig --del dnsmasq

View 4 Replies View Related

CentOS 5 Networking :: DNSMasq Update Looking For Config File

May 26, 2010

I did a yum update this morning that included a dnsmasq update. Subsequently, for an unrelated reason, I restarted dnsmasq, but it failed because /etc/dnsmasq.d didn't exist. It looks like my /etc/dnsmasq.conf file now includes "conf-dir=/etc/dnsmasq.d" at the end. Since dnsmasq was starting and I didn't remove dnsmasq.d, I assume this line was added by the update. Commenting the line resolves the issue.

An alternative hypothesis, given that I don't really know what the state of /etc/dnsmasq.conf and /etc/dnsmasq.d/ was before the update, might be that the directory did exist, but was removed by the update. I find this the least likely of my 2 stated hypotheses. (There are other hypotheses, but I think they are even less likely). Am I correct is concluding the conf-dir line was added by the update? If so, shouldn't the updated RPM create the directory during install?

View 6 Replies View Related

CentOS 5 Networking :: Dnsmasq Dhcp - DNS Server Does Not Respond

Jan 9, 2011

I got a CentOS server setup as a dhcp server using dnsmasq. I followed this guide more or less: [URL] So, the problem seems to be concerning the DNS server on the clients. In windows I get the "limited connectivity" icon for the network, and when I select troubleshoot it says the DNS server does not respond. Issuing 'ipconfig /all' clearly shows the IP of the CentOS machine as the DNS server, which should be correct, yes?

ETH0 is working as WAN connection and that works great.. no problem with the WAN connection at all on the CentOS machine. ETH1 has the IP 192.168.0.1 and mask 255.255.255.0 When starting eth1, it sometimes says that it can't start eth1 because the IP 192.168.0.1 is already in use.. but that is most certainly not the case. Maybe there's some kind of issue here that messes with the DNS? What's mind boggling is that it works great on a linux machine (dhcp client) and on a windows xp machine. but it does not work on the windows 7 laptop and a vista laptop and a pda device.

View 1 Replies View Related

Ubuntu :: Audio Duration Zero / Fix For This?

May 7, 2010

I recently did a fresh install of 10.04 and am experiencing a really weird issue. I right click on an audio file (in my case an MP3) and pull up the properties. I select the Audio tab and look at the duration for the file. All of my file (which play just fine) are showing a zero duration. Is this a known bug and is there a fix for this somewhere?

I should note that these are all valid MP3 files, with duration time previously showing under a 9.10 install.

View 3 Replies View Related

Ubuntu Networking :: Cannot Correct The Web Addresses

Feb 24, 2010

I have a Dell Inspiron 1545 with Ubuntu Karmic that was working like a charm until last week.When I'm using my college's wireless I can browse just fine, but when I'm in my home's network the web addresses cannot be resolved.I was suspecting of DNS error, but it's the same DNS address in all the other computers, and the whole network is working just fine.The thing is that if I use the IPs, for instance 64.233.163.104 for Google, it works fine, both pinging and browsing. So the problem is in resolving the addresses...

View 9 Replies View Related

Ubuntu Networking :: Getting 2 Different MAC Addresses For Same Adapter

Jan 12, 2011

I am running a dual boot PC, Ubuntu 10.10 & Win7. I do sticky static IPs on my local network, but it doesn't work cause the Ethernet adapter gets a different MAC address in Windows 7 (EF:9F:E9:F7:F7:F7) than it shows for Ubuntu 10.10 (00:13:74:00:5C:3. I am not sure if this is a Windows problem or something up with Ubuntu. The card is an on-board Atheros L2 fast Ethernet adapter. I have tried updating the drivers in Windows & nothing is working.

View 8 Replies View Related

Networking :: How To Log Ip Addresses

Oct 29, 2010

Does anyone know a good program to log ip addresses when visited or connecting to your machine? Something like tcpdump but for ip addresses, I forgot what its called.

View 3 Replies View Related

Networking :: Two IP Addresses Using One NIC?

Feb 10, 2010

Is it possible to configure two IP addresses using one NIC? I'm implementing a VPN server on network 192.168.1.0, ultimately to be accessed over the Internet and through an ADSL router with port-forwarding to the server. Right now I'd like to test it on the LAN, but with the VPN client and server both on the 192.168.1.0 network, that test would not be be valid.

If I had a spare NIC I could put the server on both the 192.168.1.0 network and, say, a 10.0.0.0 network, configure the client on 10.0.0.0 and test. Not having a spare NIC, I'm wondering if it is possible to configure the server with two IP addressese NIC.Virtualising hosts are able to do something similar when running guests with NICs in bridged mode. Log files show they switch eth0 into promiscuouse.In case it matters the server OS is Slackware 13.0.

View 4 Replies View Related

Ubuntu Networking :: Upstart Vs. Multiple IP Addresses ?

Jan 27, 2010

I have run into a problem that I've tracked down to being a conflict between the "Upstart" init system, and how it handles multiple (alias) IP addresses per physical interface. The summary of the problem is that the interfaces are being configured in the background in parallel with the starting of daemons. One "feature" of this (apparently intended for pluggable devices that would add or remove an interface) is that the network daemons are restarted each time an interface is added (and presumably deleted). But this is a disaster when applied to alias IP addresses.

I first saw the effects of this when during booting Ubuntu Server, the screen showed a message about OpenSSH daemon being restarted ... several times a few seconds apart each. At the time I didn't know what was causing that, but didn't worry because it ultimately was running when I needed it.

But now that I am deploying these servers for specific duty with many IP addresses per system (per network interface), the symptoms are becoming serious, and I need a solution.

1. The IP addresses are coming online too slowly. Apparently the time it takes to restart each daemon is being added to each address being configured.

2. It appears to be disrupting some daemons sometimes. Occaisionally, some daemon just ends up being hung somewhere, or dies. Too many restarts.

3. Sometimes few or even no alias addresses get configured. This might be due to a daemon getting hung, and the whole sequence just not finishing.

4. The "nsd" name server as packaged by Ubuntu doesn't deal well with this at all. It needs all its IP addresses to be up when it starts, or else it won't start. The Ubuntu package of it doesn't including any if-up script at all, although I'm not sure that would do any good.

What I need is a way to configure all these alias IP addresses so they are all configured immediately when the point in time is reached to bring up network interfaces for the first time. These are all static, and all are aliases on ethernet NIC cards plugged into PCIe cards, or integrated in the mainboard. None of them are pluggables. I did run a manual test of "ifconfig" in a loop configuring 2540 alias IP address on eth0 and it only took 2 seconds (no if-up triggers or daemon restarts here). So I know it's fast if nothing else is done between these steps.

Even for pluggable physical interfaces, I see no reason to even try to step through every alias (if it has aliases) with a daemon restart. If an alias IP address is added on later, then I can understand doing it. But if you have a list of 100 aliases for a physical interface, they really should all be done ... or at least attempted ... at once, and do any triggers needed after that.

So, how can I configure or modify Ubuntu Server 9.10 to do that?

I have each alias listed in the "/etc/network/interfaces" file with a separate "auto" and "iface" section for each one, with sequential sub-interface numbers appended to the interface name. I tried it without those sections (e.g. just "address" and other items in sequence) and that prevents the system from even coming up (bootable CD to the rescue to undo that). At least cntrl-alt-del did reboot it.

I tried to attach the /etc/network/interfaces file, but I don't know if it worked because I see no confirmations about it. if it didn't attach and you need to see it, say so, and I'll just paste it in a followup.

View 2 Replies View Related

Ubuntu Networking :: Connecting To Wifi With 192.168.0.x Addresses

Mar 29, 2010

I've happened across a wireless router that has a gateway address of 192.168.0.1 and allots IPs from 192.168.0.64-255. My laptop wouldn't connect to it automatically, so I was playing around and found that it needed 0.x instead of 1.x. I thought the network manager on ubuntu would have figured that out?! Now its a separate story that the router happens to have no admin password

View 4 Replies View Related

Ubuntu Networking :: IPv6 Addresses Cannot Be Assigned

Sep 18, 2010

I'm trying to assign like 80 IPv6 addresses on eth0 for virtual webhosting, but after 55 addresses I get the following error:# ip addr add 2a01:9f8:a171:1651::4b:a8af dev eth0 RTNETLINK answers: File exists.What's the problem? I don't understand that error message at all. Is the number of IPv6 addresses per device somehow limited?Ubuntu 10.4.1 server, 64 bit.

View 1 Replies View Related

Ubuntu Networking :: Vpn - No Other Addresses Can Be Accessed Before Login

Jan 28, 2011

In order to get internet access at my school I have to log into a vpn. No other addresses can be accessed before login. With XP the login is authenticated through the browser (IE and Firefox supported) and run by a juniper network connect applet.

Now when I try to do this in firefox in Ubuntu it tells me that I'm not allowed to login. So I started doing a little research and found out that I should be able to authenticate with VPNC. Trouble is I can't get internet to install anything. Which means I have to download the packages in XP and reboot into Ubuntu. And every time I hit a snag I have to reboot into XP to look up what I need to do. So what I'm wondering is if there is some work around that will get me logged in (maybe through the browser authentication?) so that I can work through issues in one os instead of two?

View 1 Replies View Related

Networking :: Ubuntu 10.04 - How To Hide Addresses I Connected

Jul 15, 2010

I use Ubuntu Linux system 10.04 under a network. I think network admins can see the web pages I visited. How can I hide the the addresses I connected? Is there any way of that?

View 14 Replies View Related

Networking :: 1 Net Card With 2 IP Addresses?

Mar 11, 2010

Can I set 2 addresses for the *1* Ethernet card that I have on my motherboard? How would this scenario work?

View 5 Replies View Related

Networking :: Differences Between IP Addresses?

Apr 24, 2011

I've used two internet services to show me my IP address, and I get different results:1. Whatsmyip.org : ***.**.109.***2. ipchicken.com : ***.**.111.***All the * numbers are same, except 109 and 111. (or link me to explanation) of which one's which?

View 8 Replies View Related

Networking :: Get Two Ip Addresses To Communicate With Each Other?

Nov 19, 2010

How can I get two ip addresses to communicate with each other which are not in the same 255 range?

Like:

192.168.0.1
and
192.168.1.1

View 7 Replies View Related

Networking :: More Than One MAC Addresses On Single NIC?

Sep 25, 2010

My machine has ONE ethernet card and is on a LAN.IP address is assigned to hosts using DHCP.I can have more than one MAC address on LAN by running Virtual Machine and setting network to bridged. This way, my virtual machine simply acts like there is one more machine in the network.Running VMWare for this job is a a bit heavy on resources. Is there a way so that I can I can have 2 or more ip addresses with different MAC address on the same machine without having to run VirtualBox.

By googling, I think its related to bridging and tap. And, I am sure thatts NOT IP-ALIASING because in ip-aliasing both the ip addresses have the same MAC address.Basically, I want my system to have interfaces like:-eth0 - which was originally presentlo- thats always present :|newint0 - New interface with new MAC address and IP addresses which can access my LAN directly. Its like if I bind, let us suppose curl to this interface, its like a different connection

View 6 Replies View Related

Ubuntu Multimedia :: Jack Stops All Audio For The Duration Of Its Run

Mar 9, 2011

I have had no problems whatsoever with audio in ubuntu 10.10. Both input and output have worked great, but alas now there's a problem.

I recently installed ardour2 with jack (using apt-get) but for some reason, anytime I start ardour2 (which starts jack implicitly) all audio stops on the whole computer. That is my computer goes silent. As soon as I exit ardour2 audio resumes.

Also, although this will probably resolve itself when I resolve the other problem, when exporting a project to audio file from ardour2 it exports silence for the entire duration, even when ardour2 is exited and audio has resumed.

I'm no linux novice, so I'm not afraid of command line solutions (I prefer them actually) however I know nothing about jack or audio editing in linux whatsoever, so if you could be very specific about jack terminology that would be great.

View 1 Replies View Related







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