Mailinglist Archive: opensuse (2572 mails)
< Previous | Next > |
Re: [opensuse] Zypper curl errors in 11.0
- From: "Rajko M." <rmatov101@xxxxxxxxxxx>
- Date: Thu, 1 Jan 2009 22:50:28 -0600
- Message-id: <200901012250.28957.rmatov101@xxxxxxxxxxx>
On Thursday 01 January 2009 08:25:10 pm Cristian Rodríguez wrote:
This one was easy:
# zypper in dnsmasq
Loading repository data...
Reading installed packages...
'dnsmasq' is already installed.
Resolving package dependencies...
Nothing to do.
I don't know was it installed by default or
it was pulled in as dependency.
# ckconfig dnsmasq on
-bash: ckconfig: command not found
# chkconfig dnsmasq on
#
# grep -e ^[^#] dnsmasq.conf
resolv-file=/var/run/dnsmasq-forwarders.conf
listen-address=127.0.0.1
bind-interfaces
# grep -e ^[^#] /etc/sysconfig/network/config
...
NETCONFIG_MODULES_ORDER="dns-resolver dns-bind dns-dnsmasq nis ntp-runtime"
...
NETCONFIG_DNS_FORWARDER="dnsmasq"
...
NETCONFIG_DNS_STATIC_SERVERS="192.168.0.1"
...
NETCONFIG_MODULES_ORDER="dns-resolver dns-bind dns-dnsmasq nis ntp-runtime"
It seems loaded. Is it all necessary?
Aha ;-)
It doesn't work, after all.
With
NETCONFIG_DNS_FORWARDER="resolver"
it works, but then do I have dnsmasq in use?
--
Regards, Rajko
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
Rajko M. escribió:
Any sample configuration at hand?
See, Im going to spoonfeed you folks on how to do this as quick and
clean as possible
you need
a) opensuse ***11.1***
b) 5 minutes
- install package dnsmasq "zypper in dnsmasq",
This one was easy:
# zypper in dnsmasq
Loading repository data...
Reading installed packages...
'dnsmasq' is already installed.
Resolving package dependencies...
Nothing to do.
I don't know was it installed by default or
it was pulled in as dependency.
and enable it as a
service "ckconfig dnsmasq on"
# ckconfig dnsmasq on
-bash: ckconfig: command not found
# chkconfig dnsmasq on
#
- edit /etc/dnsmasq.conf and set only this values:
resolv-file=/var/run/dnsmasq-forwarders.conf
listen-address= 127.0.0.1
bind-interfaces
# grep -e ^[^#] dnsmasq.conf
resolv-file=/var/run/dnsmasq-forwarders.conf
listen-address=127.0.0.1
bind-interfaces
- then go and edit /etc/sysconfig/network/config and set
NETCONFIG_DNS_FORWARDER="dnsmasq"
- if you are using static dns servers, add them to
NETCONFIG_DNS_STATIC_SERVERS
# grep -e ^[^#] /etc/sysconfig/network/config
...
NETCONFIG_MODULES_ORDER="dns-resolver dns-bind dns-dnsmasq nis ntp-runtime"
...
NETCONFIG_DNS_FORWARDER="dnsmasq"
...
NETCONFIG_DNS_STATIC_SERVERS="192.168.0.1"
...
NETCONFIG_MODULES_ORDER="dns-resolver dns-bind dns-dnsmasq nis ntp-runtime"
It seems loaded. Is it all necessary?
- run netconfig update -f
- profit ;-)
as you can see, it is trivial to do :-P
Aha ;-)
It doesn't work, after all.
With
NETCONFIG_DNS_FORWARDER="resolver"
it works, but then do I have dnsmasq in use?
--
Regards, Rajko
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
< Previous | Next > |