Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 652
    • Issues 652
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 217
    • Merge Requests 217
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #120

Closed
Open
Opened Aug 08, 2009 by Nathan Angelacos@nangelDeveloper

dnscache doesn't work on startup (1.9.0beta2)

Weird problem with dnscache; it is running on 127.0.0.1; and is set to send requests out the default gateway (standard)

  1. echo “nameserver 127.0.0.1” >/etc/resolv.conf
  2. echo “RESOLV_CONF=‘no’” >/etc/udhcpc/udhcp.conf
  3. rc-update add dnscache
  4. ping -c 1 www.google.com
    (works fine)

#ping -c 1 www.google.com
— fails after a very long time; no DNS resolution is possible
#apk add djbdns
#dnsq A [any address] 127.0.0.1
— will fail

doing a tcpdump on 127.0.0.1 shows the request going to 127.0.0.1; but no response.

however, after logging into the server, doing a:

  1. /etc/init.d/dnscache restart

— makes all DNS requests work.

Tried adding a delay in the /etc/init.d/dnscache start script; tried changing the internet facing interface from dhcp to static; no effect.
DNSCACHE does not work until it is restarted.

Any ideas?

(from redmine: issue id 120, created on 2009-08-08, closed on 2009-08-19)

  • Changesets:
    • Revision 0b2149a1 on 2009-08-08T16:46:53Z:
main/djbdns: added net dependency in initd scripts

fixes #120
  • Revision 6740d61d on 2009-08-09T13:25:04Z:
main/djbdns: provide random seed to dnscache

fixes #120
Thanks to Nathan for solving this.
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Alpine 1.9 beta
Milestone
Alpine 1.9 beta (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#120