Commit Graph

32 Commits

Author SHA1 Message Date
Jian Qiu
81a12d1f16 feature: allow manager to preapre query context (#19451)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-05 20:06:40 +08:00
Qiu Jian
31d7f9d10a fix: not resolve local domain with dns records 2024-01-25 15:38:31 +08:00
Jian Qiu
9ca7fb3bf8 fix: windows ipv6 support (#19279)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-17 19:47:25 +08:00
Jian Qiu
c7d79f5d48 Feature/qj ipv6 support (#19249)
* feature: ipv6 support

* fix: ipv6 support more

* fix: update vendor for ipv6 support

* fix: allow enable ipv6 on existing guestnetwork

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-15 13:32:52 +08:00
屈轩
00e100b092 fix(region-dns): resolve cname (#17886) 2023-08-30 18:54:57 +08:00
屈轩
b462ef3abe fix(region): dns zone (#17868) 2023-08-29 15:44:20 +08:00
QIU Jian
293afd2e69 fix: remove apiversion param from session 2022-08-25 09:43:50 +08:00
ioito
80b610acf3 fix(yunionconf): use sqlchemy backend 2021-12-01 10:55:48 +08:00
Zexi Li
c025944d17 fix(go.mod): remove k8s.io/kubernetes dependency 2020-12-04 16:45:25 +08:00
Yousong Zhou
a67026dec0 dns: isMyDomain: match only strict subdomain of dns_domain 2020-09-30 16:14:23 +08:00
Yousong Zhou
fb9e3c9522 dns: chain load records for cname 2020-01-09 23:19:59 +08:00
Yousong Zhou
1c84754373 dns: prepare for responding with A record of cname value 2020-01-09 23:19:59 +08:00
Yousong Zhou
981b2e8539 dns: 添加k8s_skip选项 2019-10-23 08:42:44 +00:00
Qiu Jian
8c799e3a5e fix: client auth needs project domain info 2019-05-31 14:10:56 +08:00
Qiu Jian
004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
Yousong Zhou
8fe4f2ec98 treewide: group imports with goimports
./goimports -w -local yunion.io/x/onecloud/ -corp yunion.io/x/ $GOPATH/src/yunion.io/x/onecloud/{cmd,pkg}
2019-03-13 10:46:12 +00:00
Qiu Jian
e4d1a7a21f fix: build broken for changing GetNetworkOfIP to GetOnPremiseNetworkOfIP 2019-02-21 11:02:37 +08:00
wanyaoqi
742a67b0f8 client session add context 2018-12-25 13:33:33 +08:00
Zexi Li
a45d41ef85 fix: region-dns compile failed 2018-12-19 16:41:56 +08:00
Zexi Li
43255fe7e8 region-dns: use k8s.SKubeClusterManager 2018-11-15 00:41:06 +08:00
Zexi Li
2bef47d456 region-dns: auto k8s config from kube server 2018-11-02 16:25:03 +08:00
Yousong Zhou
e4bb883c60 region-dns: priority, weight for srv records 2018-10-18 15:59:38 +00:00
Yousong Zhou
7e3e8a01ce dns: fix compilation error
# yunion.io/x/onecloud/pkg/dns
	pkg/dns/dns.go:237:44: cannot use "" (type string) as type mcclient.IIdentityProvider in argument to models.HostManager.SEnabledStatusStandaloneResourceBaseManager.SStatusStandaloneResourceBaseManager.SStandaloneResourceBaseManager.FetchByName:
		string does not implement mcclient.IIdentityProvider (missing GetProjectId method)
2018-10-16 09:13:52 +00:00
Yousong Zhou
43d8b74d17 dns: add a README.md for memo purposes 2018-08-25 03:34:27 +00:00
Yousong Zhou
5b12bdc7e7 dns: hack: new k8s client for each query
- rest.Config Timeout setting does not work right now [1]
 - number of connections will not increase along with newed client: they
   use a single connection always...

 [1] https://github.com/kubernetes/client-go/issues/374#issuecomment-413842964
2018-08-25 02:41:53 +00:00
Yousong Zhou
ed2bf2eba5 dns: policy, log, db query optimization
Fixes CLOUD-451

TODO

 - timeout bound for k8s query
 - k8s client pools
2018-08-25 02:41:53 +00:00
Zexi Li
e6788bb75e add doc.go for each package 2018-08-11 14:41:38 +08:00
Zexi Li
22411ffb53 path move: github.com/yunionio -> yunion.io/x 2018-08-11 14:28:18 +08:00
Zexi Li
4e7f006498 dns: 支持 SRV 2018-08-06 17:13:07 +08:00
Zexi Li
f4ab21afc6 dns: 支持反解 2018-08-06 15:02:38 +08:00
Zexi Li
217f5a65ef - k8s client util
- dns config sample
2018-08-06 12:08:29 +08:00
Zexi Li
9ac3e1a19d Add region-dns service 2018-08-02 02:11:25 +08:00