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
ADVERTISEMENT
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
Mar 18, 2009
I've been racking my brains over the past few days trying to figure out why my NIC card (network interface card) won't show up in the ifcfg-eth0 file.When I configure a new server (like this one) I always go to:/etc/sysconfig/network-scripts/ifcfg-eth0 and from there I usally see the name of my NIC's manufacturer's name and the hardware MAC address.Then it's only a simple process of entering the server's IP address, netmask and gateway and I'm up and running in no time...But not in this case! the ifcfg-eth0 file is completely blank! There's not ONE single line of config info in it... (?)The server runs an Intel core 2 duo (dual-core) CPU with 1 gig of RAM.
I've even re-formatted the drive and re-installed Centos 5.1 on the darn thing 3 times and it simply won't work.The server cannot resolve when I do a wgetIt also gives me a 'resolution problem in the named configuration'.What I don't understand is that the 2 small LEDs on the Cat 5 cable lights up and flash at what appear to be regular intervals here.
View 6 Replies
View Related
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
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
Mar 18, 2010
I am using ubuntu 9.10 and I updated by ubuntu machine. It updated but at the end it gave me a message that "You have new mail in /var/mail/root". When I checked it via the command "tail /var/mail/root" it showed me this.
tail /var/mail/root
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
Message-Id: <20100318051502.0D1ABB1C01@Infosec-Lab04>
Date: Thu, 18 Mar 2010 10:15:02 +0500 (PKT)
WARNING: "MaxBytes[leased]" not specified
ERROR: Please fix the error(s) in your config file
View 1 Replies
View Related
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
Oct 4, 2010
I've tried to read many of the topics in this forum first and tried to find a solution to my problem, but can't find one.I'm testing CentOS 5.5, it's the first time I'm using a CentOS Linux release.I'm trying to configure the proxy "client side " on it and cannot find how to do it.On other Linux release I've used the ENV variable like "http_proxy" or "HTTP_PROXY" etc etc.This time, I don't know why but it doesn't work.I've put the name and @ip of the proxy in /etc/hosts and tried different version upper/lowercase of "http_proxy" "HTTP_proxy" "ftp_pr.." but it doesn't work.If I configure manually Firefox and puting the name or @ip of the proxy we have on our network, it works.But if I try to use ENV variable it doesn't work...
View 1 Replies
View Related
May 21, 2009
For security reasons I need to ensure all of my users screensaver is set to come on after 10 minutes of inactivity. My thought was to find the screensaver config file, modify a setting in the file to 10 minutes and change ownership of the file to be root (so the user can't undo my changes either in the file or via the gui). However, I can't find the screensaver config file to do this. I'm running Centos 5.2. Anyone know where I can find the screensaver config file?
View 2 Replies
View Related
Jan 17, 2010
i have a VPS server running centOS 5 and i need to edit the boot loader config file but my VPS does not seem to have the usual suspects of grub.conf or lilo any where on the system.
where the boot loader config file might be or what it might be called ?
If it helps to know, the VPS was setup instantly the moment i bought it.
View 1 Replies
View Related
Jul 4, 2010
Unable to get update or download any native programs. But able to access file from Samba
View 1 Replies
View Related
Jun 15, 2011
I tried to installed Centos5.4 version on Dell PC intel corei3 inspiron580s and succeeded but found some issues following below
1 Hardware issue for LAN driver ( Broadcomlink(TM)gigabit ethernet)
2 Display Driver not support and also missing Xorg.config file (i.e ., My Screen Starts from center of screen )
3. What is minimum configuration for centos 5.4 ?
View 2 Replies
View Related
Apr 30, 2009
We have been struggling with a problem with the mysql-server package. This might be in the wrong category because our problems are with it on x86_64. Where the problem happens variables that should populate from the my.cnf don't, on other servers, they do, the my.cnf files are identical except for the server-id
The problem occurs on some of our machines but not others. All are using the mysql-server-5.0.45-7.el5.x86_64 The ones that work, when you connect with a client respond with server version 5.0.45-log source distribution The ones that don't work respond with 5.0.45 source distribution
It's unclear what the differences are between the two source versions and how we wind up with two different versions. One thing that might be involved, the mysql package is installed with both the i386 and x86_64
View 1 Replies
View Related
Nov 18, 2009
I am getting a strange font problem (see attached screenshot) for a user logging in over VNC Server, I am also logged in over VNC however I am no experiancing any problems... This was the case on CentOS 5.3 and on 5.4. I have tried removing the .vnc dir in the users home dir and re running vncserver so that it recreates it, I found this in the logs:
1. (nautilus:14718): Pango-WARNING **: No builtin or dynamically
2.loaded modules were found. Pango will not work correctly.
3.This probably means there was an error in the creation of:
4.'/etc/pango/pango.modules'
5. You should create this file by running pango-querymodules.
6.Fontconfig error: Cannot load default config file
[code]....
View 2 Replies
View Related
Mar 7, 2010
i try to run yum update and now i get this error Config Error: File contains no section headers.
[code]....
View 4 Replies
View Related
Sep 5, 2010
trying to configure a Centos 5.5 server (simple file server with DHCP and DNS relay). I configured and tested the config (by 'service dnsmasq configtest') of dnsmasq and I got the message 'dnsdomain:host unknown (translation of the real message : hte inconnu) and I didn't find where I could define this host ! The hostname of the server is well defined and I can see it from all Windows PC's on the LAN. dnsmasq starts (with hte same message as in configtest) but when querying DNS from PC's te.g. trying to surf the Internet), I don't get replies (3 DNS servers are also well defined and operational).
View 2 Replies
View Related
Sep 7, 2009
I was tryin to deploy svn on centos 5 with respect to [URL] I am stuck understandin the location svnpath parameter on svn config
[Code]...
View 1 Replies
View Related
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
May 4, 2011
iam running dnsmasq on my target board , my dnsmasq.conf has following configurations
# cat /var/etc/dnsmasq.conf
strict-order
localise-queries
[code]....
View 1 Replies
View Related
Oct 15, 2009
I am running centos 5.3 with the latest bind, i have made some changes in the config and now it wont start.
Fel i named-konfigurationen:/etc/named.conf:27: unexpected end of input (last line)
My named.conf looks like this:
options { directory "/var/named/";
};
view "externt" {
match-clients { any; };
recursion no;
zone "dala.hk" {
type master;
file "dala.hk";
};
zone "0.0.168.192.in-addr.arpa." {
type master;
file "1.0.168.192.in-addr.arpa";
};
};
view "intern" {
match-clients { 192.168.0.0/8;};
zone "intern" {
type master;
file "intern;
};
};
View 2 Replies
View Related
Sep 6, 2010
I trying to set up a LDAP server using openLDAP / db4. The server runs fine but I cannot get the client to work. Client and server are on the same machine, as for now. The problem seems to be in PAM. However I cannot start the system-config-authentication tool which should do the trick.
Environment
=========
CentOS release 5.4 (Final)
Software
======
authconfig-gtk-5.3.21-6.el5
system-config-securitylevel-tui-1.6.29.1-2.1.el5
system-config-network-tui-1.3.99.18-1.el5
[Code]....
View 3 Replies
View Related
Jul 7, 2010
i have encounter strange situation i have set all my network configuration via /etc/sysconfig/network-scripts/ifcfg-eth0 ,eth0.2 ,eth1 etc ....i have used only once Gnome network manage settings to add routing since then all my network config change although all files mention above showing the same config i have set initially and same for Gnome network Manager.
View 3 Replies
View Related
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
Jul 13, 2011
In my company have proxy server using Linux.
Ip Address Proxy Server 1 is: 123.16.201.23
Ip Address Proxy Server 2 is: 123.16.201.24
Every Client: 123.16.3.25,....
and 123.16.4.25,.....
....
- I want export config file on Proxy Server, but i don't know command and i see interface is command line. So hepl me command line and send file to my email.
- In config file on Proxy Server may be disconnect internet for user and Enable coonect internet for user. Hepl me do this?
- I using Ubuntu 10.04LST i want connect file Server on Server ( using WinServer2003).
I just go to company so i have everything don't know system.
View 2 Replies
View Related
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
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
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
May 7, 2011
I currently can run an old swf on my Chumby 8 device by storing and using these three files on a USB plugged into the device
config
<?xml version="1.0" encoding="utf-8" ?>
- <config>
[code]...
View 1 Replies
View Related
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
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