ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Eugene Prokopiev <enp@altlinux.org>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] dnsmasq
Date: Wed, 3 Jun 2009 14:50:28 +0400
Message-ID: <f7a739430906030350k61da6102kd51675da2ebef221@mail.gmail.com> (raw)
In-Reply-To: <4A263272.3000001@rambler.ru>

> Здравствуйте. Пытаюсь настроить dnsmasq по статье
> http://www.comprice.ru/articles/detail.php?ID=40129
>  если расскоментировать строчку
> |dhcp-range=192.168.1.50,192.168.1.99,255.255.255.0,24h, то
> после service dnsmasq restart пишет: Starting dnsmasq service:
>  dnsmasq: cannot open or create lease file /var/lib/dhcp/dhcpd.leases: No
> such file or directory
>  В чем может быть проблема?

В слишком уж замороченной дефолтной конфигурации dnsmasq. Обычно мне
хватает чего-то в духе:

# cat /etc/dnsmasq.conf
bind-interfaces
interface=lan
interface=lo
resolv-file=/etc/resolv.conf.dnsmasq
strict-order
expand-hosts
domain=mydomain.ru
dhcp-range=192.168.46.31,192.168.46.38

# cat /etc/resolv.conf.dnsmasq
nameserver 192.168.100.10
search mydomain.ru

# cat /etc/resolv.conf
nameserver 127.0.0.1
search mydomain.ru

и полностью закомментированного /etc/sysconfig/dnsmasq

-- 
С уважением,
Прокопьев Евгений

  reply	other threads:[~2009-06-03 10:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-03  8:21 alisher
2009-06-03 10:50 ` Eugene Prokopiev [this message]
2009-06-03 10:53   ` Eugene Prokopiev
2009-06-03 10:58   ` Gleb Kulikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7a739430906030350k61da6102kd51675da2ebef221@mail.gmail.com \
    --to=enp@altlinux.org \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git