Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9882

Document how to change the resolver used by the automation agent.

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      Hi,

      If a customer wishes to use ncsd to cache dns queries from Automation Agent, the default resolver used in Go will bypass the cache daemon.

      There is an environment variable that can be set to make the Automation Agent use use C library functions to resolve hostnames, thus going through ncsd.

      Could we please document the default resolver used and how to change it by setting the environment variable as follows:

      GODEBUG to netdns=cgo .
      

      It may be useful to link out to the Golang documentation also.

      Thanks,

      Barry

      Attachments

        Activity

          People

            Unassigned Unassigned
            barry.oneill@mongodb.com Barry O'Neill
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 5 days ago