OpenSUSE Network :: No DNS Caching Until Manually Restart Dnsmasq?

May 29, 2010

My upstream DNS server is a bit slow, so I've installed the dnsmasq cacher locally. I have the service starting on runlevels 2, 3, and 5. But I can tell by Firefox's behavior that dnsmasq does not work upon boot. Firefox lets its own DNS cache expire after 60 seconds. When I do my second Google search five minutes after my first, the second DNS lookup for www.google.com is just as slow as the first.If I manually restart the dnsmasq service, I get the fast name resolutions I expect.

View 2 Replies


ADVERTISEMENT

General :: Dnsmasq Without Altering /etc/hosts File Manually?

Jul 19, 2011

I've trying to get dnsmasq working as a combined dns and dhcp server. It's infuriating so far... In short, the DNS works fine for anything added to /etc/hosts, and the dhcp works fine, but the dhcp is not updating the dns with hostname information from clients.

The outcome of this is that i can only ping a node by hostname if i know it's address, which means setting a static dhcp allocation and putting the hostname into /etc/hosts manually, which is very annoying and kind of defeats the poit of dhcp. There must be a way to get dnsmasq to update the hosts file, surely The clients aren't using fqdn's if that matters, and i think i've tried every combinination of "expand-hosts" and "domain=" following is the dnsmasq config file contents:

domain-needed
bogus-priv
except-interface=tun0

[code]....

View 2 Replies View Related

OpenSUSE Network :: Name Resolution On Multi-homed Networks Using Dnsmasq?

May 11, 2011

I have a DNS server (dnsmasq v2.55) at the center of three subnets: x.y.1.0/24, x.y.2.0/24 & x.y.3.0/24. dnsmasq does a grand job of issuing a suitable DNS server address with the DHCP option 6. So, machines on subnet x.y.3.0/24 are told that the DNS server is x.y.3.2, machines on subnet x.y.2.0/24 are told that the DNS server is x.y.2.2 and machines on subnet x.y.1.0/24 are told that the DNS server is at x.y.1.2. Even though the DNS server is the same box (although with three nics).

Now the question is:
How do I make dnsmasq respond similarly to name resolution requests? So that when:
Machines from x.y.3.0/24, ping <name of DNS server> dnsmasq returns x.y.3.2,
Machines from x.y.2.0/24, ping <name of DNS server> dnsmasq returns x.y.2.2, and
Machines from x.y.1.0/24, ping <name of DNS server> dnsmasq returns x.y.1.2.

Currently, the DNS server returns the IP address that is assigned in /etc/host. Which, of course can be changed, but via that mechanism, will always be wrong two out of three cases.

View 4 Replies View Related

OpenSUSE Network :: Configuring Caching Proxy Server 11.4?

May 25, 2011

I want to configure proxy caching on my openSUSE boxYast >>> Proxy >>>

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

OpenSUSE Network :: Connect To DSL Using YAST Manually?

Aug 23, 2010

I have installed 11.3. Now for DSL I use PPP over Ethernet. I have configured DSL via YAST and it works fine. The connection is set at boot.

Now I want DSL to connect manually not at boot time. I did changes in the YAST/DSL to start Manual and rebooted. Once rebooted how do I connect?? Like any button/applet ??

View 1 Replies View Related

OpenSUSE Network :: Manually Changing DNS Settings?

Jan 8, 2011

once upon a time i manually entered my ISP's DNS servers in /etc/resolv.conf Now i have changed ISP, my old DNS setting are still present even though i have edited my resolv.conf file to my new ISP's DNS servers. Internet still works fine, i just want to use my new ISP's DNS as my old ISP will be closing its doors very soon. Am i doing something wrong, or better put.forgot to edit another file..? I did do this a while ago, so i apologise in advance for my incompetence. I'm stilling running 11.1 / Router has DHCP configured. my resolv.conf file is below

Code:
cat /etc/resolv.conf
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
# NETCONFIG_DNS_STATIC_SEARCHLIST

[Code]...

View 9 Replies View Related

OpenSUSE Wireless :: Manually Configure Network Interfaces?

Nov 20, 2010

I'm building a wireless router based on OpenSuse 11.3 I have experience with Debian, but here I'm confused howto manually configure network interfaces. I need my wireless card to work in master mode, so I need to place

[Code]...

View 3 Replies View Related

OpenSUSE Network :: 11.3 With LXDE: Manually Defined Ports Are Not Getting Through The Firewall?

Sep 21, 2010

I'm using opensuse 11.3 32bit with LXDE. I have configured an apache tomcat server listening on port 8080. Yast was used to open udp 8080 and tcp 8080 in the firewall by manual entry under the advanced button of 'allowed services' menu.Another system was used to access the tomcat server via a firefox webbrowser. The attempt was unsuccessful. The url used was [URL]. firefox webbrowser keeps showing'connecting ...' until timeout. I'm assuming that inspite of the specified port openings in the firewall, it is somehow ignored. If I were to disable the firewall, then I can access the tomcat server with the firefox webbrowser.

View 2 Replies View Related

Debian :: Setup Dnsmasq On A Network That Already Has A Router?

Feb 17, 2010

I am trying to get more control of my small office network. It consists of several windows workstations, a debian box, and a ZyXEL P-660HW-D1 router, Right now, the only way to reach the debian box from other computers is to type in its ip address.

The goal is to be able to reach the box by just typing ://debianBox into my browser, though ideally I want to set it up to be something like ://debianBox.officenet, and to also reach other people's computers by typing ://mattBox.officenet and ://fredBox.officenet

The Zyxel router has a LAN page with a DHCP Setup tab with fields setup like so In the past I was able to mange this using an Orange router, but now I have to use the ZyXel.

So I installed dnsmasq on the debianBox, but I do not know how to configure it to get the results. I want and still get internet fromthe Zyxel router.

In the etc/hosts file of the debian box I added 192.168.69.15 debianBox, and for testing on my windows machine I set the primary dns entry of the Ip4 connection to 192.168.69.15 as well, but typing ://debianBox in my browser still gives me not found.

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

General :: Manually Unmount Partitions Everytime Shutdown - Restart / Should I Do It?

Mar 21, 2010

I edited fstab file and added my hdd partitions to it. just wondering should i manually unmount my partitions everytime i shutdown or restart.

View 4 Replies View Related

Software :: DNS Caching Server On Local Network

Jun 29, 2011

I'm running into a little trouble trying to configure bind as a caching dns server on centos 5.6. for debugging purposes I've got iptables and selinux turned off, but I can't get see the dns service on my local network. on my server itself I can run nmap against it and see that port 53 is open, but if I try it from another computer on my network the port is closed.

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

OpenSUSE :: Yast Unable To Restart Network?

Dec 9, 2010

When I change something in network setings using yast (for example hostname) it failes to restart the network. I have to start knetworkmanager manually from the terminal. Does anyone get the same type of behaviour ? I'm attaching the relevant yast log.I'm using 11.3 KDE 4.5.4 2.6.34.7-0.5-desktop kernel.

Code:
2010-12-08 07:06:17 <1> opensusetest(6010) [YCP] network/runtime.ycp:28 Running SuSEconfig ...

[code]....

View 9 Replies View Related

OpenSUSE Network :: 11.04 - Internet Connection Not Available After Restart

May 20, 2011

I installed 11.04 via live install, and was connected to my home network/Internet. After the install finished and I restarted my pc, my network was not available nor internet connection. In the network manager I cannot access the "wired network" tab.

View 4 Replies View Related

Fedora Networking :: Fixing Network Manager / Caching Name Server

Sep 5, 2009

I've set up a caching nameserver on my laptop running Fedora 11. The problem with this is that NetworkManager always overwrites the entry that points to the local nameserver. NetworkManager no longer respects /etc/dhclient.conf or at least its scripts run after dhclient.conf. Also it doesn't respect /etc/sysconfig/ network-scripts/ifcfg-* setting of DNS{1.2}.The man page of NetworkManager describes scripts that run in /etc/NetworkManager/dispatcher.d which can be run when interfaces are brought up and down. I've written a script that will put the entry needed for the local nameserver.

View 1 Replies View Related

Ubuntu :: How To Restart Network Adapter (not Service) Without Restart?

Mar 13, 2010

I have a suspend problem in my laptop. Sometimes, when resuming from suspend, the network adapter is down (that is, the network does not work and the light of the network adapter is off). Restarting the network service doesn't work, because I think that the system forgot about the hardware, and probably the driver should be reloaded.Does anyone knows how to do that?(ps. /etc/init.d/networking restart does not work, because the hardware driver is not being recognized anymore).

View 5 Replies View Related

OpenSUSE Network :: Unmount Of CIFS Hangs Or Restart Or Shutdown

Dec 30, 2009

I have a SMB share being mounted during boot using a /etc/fstab entry.All that seems to work fine, but on shutdown or reboot I found that the system hangs for a variable period trying to unmount the share. It appears from the log that the unmount is happening after the network connections are closed.Is there someway around this, or is there some other way I should be mounting the share so that it is closes successfully at restart or shutdown?

View 1 Replies View Related

OpenSUSE Network :: Hostname Change Via YaST Not Applied After Restart

Apr 1, 2011

I installed openSUSE on my notebook with an usb drive using openSUSE 11.4 KDE LIVE iso. The installation process set the name to "linux-ygrl" which I don't really like. (I probably just missed the setting during the installation.). I tried to change it through YaST -> Network -> Hostnames and I set everything where needed to the new name and restarted but the changed weren't applied. I searched the web and found out about the /etc/HOSTNAME file which still contains "linux-ygrl". Now I could change it manually but I was wondering if there is a GUI for it? (I mean, openSUSE has for alsmost everything a GUI.

View 9 Replies View Related

Ubuntu :: Manually Restart The Avahi-daemon In Order For The Music Players Unable To 'see' The Music Server?

May 2, 2010

I use mt-daapd music server to stream music to a couple of network music players (which use UPnP protocols). Recently (last month or so) I have found that on restarting my ubuntu system I need to manually restart the avahi-daemon in order for the music players to be able to 'see' the music server. I think avahi-damon is running when ubuntu first starts up. The output of a ps aux shows:

[Code]...

I'd like to understand why I need to restart the avahi-daemon and either solve this or learn a way to automate restarting it on system boot up so I don't have to do it manually each time. My system is ubuntu 9.10 64 bit and the version of avahi-daemon is 0.6.25

View 2 Replies View Related

Networking :: Unable To Join Wep Network Manually?

Aug 28, 2010

I'm trying to join a wireles lab that I've setup with WEP encryption, but I'm unable to join. (I've tried on two different distros: ubuntu, and backtrack) same result.

here are the commands:

Code:
ifconfig wlan0 down
iwconfig wlan0 mode managed
iwconfig wlan0 essid MYNET
iwconfig wlan0 key XXXXXXXX
iwconfig wlan0 channel 3
dhclient wlan0

tries to contact dhcp but none responde to request, and when I do iwconfig, it shows as not associated

View 5 Replies View Related

Fedora Networking :: Manually Configuring The Network Settings?

Mar 12, 2009

Does anyone havea good tutorial on Fedora's network scripts, how to edit them, in what order they are called, etc. What I want to do seems simple, but something in the bootup keeps changing it. Right now, I have an image of Fedora Core 7 created in a server with 2 Ethernet cards. I need to specify static IP addresses for each card. Thats simple, and I did that. Now, heres the tricky part, I need to be able to clone this image and place it onto other exact duplicates of the hardware, and have all of the settings stay the same.

What happens here, is that eth0 and eth1 are stored somewhere as devices, and upon boot on a different machine, the Fedora will mount new network cards(different MAC addresses) as eth1 and eth2. It then mvoes my ifcfg-eth0/1 to a backup, and creates two brand new network setting's files, which initialize to DHCP. This creates an issue, becuase these machines do not have monitors nor keyboards attached, nor is their a DHCP server, so its a pain when I swap the machine out, to have to go in with a keyboard/mouse/monitor and reconfigure the network settings before I can connect to it over the LAN.

So does anyone have any advice on how to do this? No matter what i tried, booting the image in a new PC caused Fedora to create two new devices and create brand new network settigns for them, both initialized to DHCP. Hell, I wouldn't care if it created brand new devices, if it would initialize them to static IP addresses that I am expecting.

View 1 Replies View Related

Ubuntu :: Manually Bring Up Network Interface Every Time

Nov 24, 2010

I have installed ubuntu server 10.04 amd64. The problem is every time I login, there is no internet connection and I have to manually run "sudo ifconfig eth3 up". (eth3 has the cable). What should I do to automate that?

View 8 Replies View Related

Networking :: Mounting XP Network Drive On Machine Works Manually But Not On Boot Up?

Dec 13, 2008

I know this has been covered in many threads before, but I'm stuck not finding my exact situation or an answer. I'm a newbie using a Debian Linux machine as the client and Windows XP machine as the server. I have successfully mounted the XP Network drive on the Linux machine using commands from the root terminal:

mount -t smbfs -o username="Windows Username",password=windowspassword //XPcomputername/folder /mountpoint/

However when I put the command in the ect/fstab file as suggested in several posts, I don't get any result on boot up. I.e. I can't get the network drive to mount on start up, I always have to manually mount it from the root terminal.

View 7 Replies View Related

OpenSUSE Install :: How To Manually Partition 30GB For OpenSUSE Too?

Feb 22, 2010

I got a hold of openSUSE11.2 recently, burned it, and booted the disc up.Now i got a problem.I ain't too experienced in partitioning, so i choose everything as selected in the installation(i downloaded the full DVD, not a live CD)and i got to the partitioning part.I have this:

500GB WD Caviar Blue SATA2
80GB ATA

I installed Ubuntu on the 500gb with wubi and partitioned 30GB for it.Well that one is easier, i have absolutely no experience in installing from a CD/DVD.I saw instlux, but it wouldn't run from Win7 Any guide on how to manually partition 30GB for openSUSE too?

View 3 Replies View Related

Red Hat / Fedora :: Network Interface Is Down After Restart?

Jan 25, 2010

after restarting my Fedora 10 the eth0 interface is not up

after i manually restart the network service everything is OK but after restarting it is the same problem.

this is the interface config file:

/etc/sysconfig/networking/devices/ifcfg-eth0 /etc/sysconfig/networking/devices/ifcfg-eth0
# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)
DEVICE=eth0
HWADDR=00:0c:29:8b:82:6b
ONBOOT=yes
SEARCH="mydomainname"

[Code]....

i know i can put the restart service command in the rc.local file but it not suppose to work this way.

View 4 Replies View Related

Networking :: Change DNS And Restart Network?

Mar 2, 2011

I need to change DNS server that I'm using from a provider to another.Let's just say I'm using a local DNS, and wanted to use Google's DNS.I'm using CentOS, so a friend of mine told me to directly change file:/etc/resolv.confand I already did it.My question is: Do I need to restart my network after changing this file?How do I know that I'm already using the new DNS instead of still connecting using my old DNS?

View 4 Replies View Related







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