Re: About DNS

From: Tim Haynes (usenet-Jan-28-2003@stirfried.vegetable.org.uk)
Date: 01/28/03


From: Tim Haynes <usenet-Jan-28-2003@stirfried.vegetable.org.uk>
Date: Tue, 28 Jan 2003 16:11:49 +0000


"dragon" <siao@eastmail.com> writes:

> Fact : Only root can bind the privileged ports(0~1023)

Well, unless you've got a bunch of ACL patches installed in the kernel, of
course.

> Fact : DNS service uses port 53

Normally, yes.

> Fact : In my system, the effective user of the process "named" is "bind"
> Question : How can this user "bind" uses port 53?

See the definition of `ns_os_changeuser' in bin/named/unix/os.c, around
line 392ish (assuming bind-9.2.2rc1). Actually, that whole file could be
moderately enlightening.

~Tim

-- 
Roobarb and Custard let fly                 |piglet@stirfried.vegetable.org.uk
with their secret weapon.                   |http://spodzone.org.uk/


Relevant Pages

  • RE: [linux-audio-user] snd-hdsp+cardbus=distortion -- the sagacontinues (cardbus driver=culprit?) UP
    ... Apart from the ACPI and APIC problems, nothing out of the ordinary (i.e. ... APIC assigns IRQ 0 to cardbus and therefore nothing works, ... problems by patching the kernel yet the problem persists. ... This is not an option, as Tim pointed out, not only because this package ...
    (Linux-Kernel)
  • Re: Where do YOU stand?
    ... Tim J. Wrote: ... Ya sound like a bunch of school yard Bullies what good does it do to ... Mad about things for so long you dont even know what your mad about ... you just aint got nothin in life to look forward to except ...
    (rec.outdoors.fishing.fly)
  • Re: The last straw
    ... is that minimal requirements have changed for many ... be the case that Unix administrators tended to be kernel ... This isn't about my lawn, ... A bunch of people at Apple ...
    (comp.unix.bsd.freebsd.misc)
  • Bizarre cp/strace behaviour
    ... We have an old Redhat 7.3 machine running 2.4.18-3smp kernel. ... The machine mounts a bunch of directories through nfs. ... If the cp commands ...
    (comp.os.linux.misc)
  • Re: HDIO_SET_DMA failed: Operation not permitted
    ... Tim Beauregard wrote: ... > Could someone please help me find the kernel config settings which I've ... that prevent me from using DMA? ...
    (Debian-User)