Forum Discussion
NN_210021
Nimbostratus
Aug 03, 2015Curl perform failed: Couldn't resolve host name (6)
Hi all,
can anyone give me a hint on what causes this error ? Can't find anything on DC /internet search
HTTP module: authenticateUser(): Curl perform failed: Couldn't resolve host name (6)...
Hannes_Rapp_162
Nacreous
Aug 03, 2015To sort out the DNS issues, try to follow the steps below:
Check to see if you have a DNS server configured
hannesr@(lb01)(cfg-sync Changes Pending)(Active)(/Common)(tmos) list sys db dns.nameservers
sys db dns.nameservers {
value "10.199.22.2 10.199.22.6"
}
hannesr@(lb01)(cfg-sync Changes Pending)(Active)(/Common)(tmos) q
Check to see if you have DNS server connectivity
[hannesr@lb01:Active:Changes Pending] config dig blabla
; <<>> DiG 9.9.6-P2 <<>> blabla
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 58826
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;blabla. IN A
;; AUTHORITY SECTION:
. 10688 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2015080300 1800 900 604800 86400
;; Query time: 1 msec
;; SERVER: 10.199.22.253(10.199.22.2)
;; WHEN: Mon Aug 03 12:08:38 UTC 2015
;; MSG SIZE rcvd: 110
Hannes_Rapp_162
Nacreous
Aug 03, 20151) If you don't have a DNS server configured - configure one.
2) If you don't receive any response to dig command - make sure you have UDP/53 connectivity to the DNS server.
3) If both commands succeed, assume that DNS on F5 is OK and you must update the DNS server's configuration to include a new A entry for your service name.
When done, retry your cURL command. Good luck!
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects