mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Use dns library from miekg
This commit is contained in:
committed by
Dan Christian Bogos
parent
f1513907ff
commit
6da9cbd3a9
@@ -26,8 +26,8 @@ import (
|
||||
"github.com/cgrates/cgrates/engine"
|
||||
"github.com/cgrates/cgrates/sessions"
|
||||
"github.com/cgrates/cgrates/utils"
|
||||
"github.com/cgrates/dns"
|
||||
"github.com/cgrates/rpcclient"
|
||||
"github.com/miekg/dns"
|
||||
)
|
||||
|
||||
// NewDNSAgent is the constructor for DNSAgent
|
||||
|
||||
@@ -26,7 +26,7 @@ import (
|
||||
|
||||
"github.com/cgrates/cgrates/config"
|
||||
"github.com/cgrates/cgrates/utils"
|
||||
"github.com/cgrates/dns"
|
||||
"github.com/miekg/dns"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -24,7 +24,7 @@ import (
|
||||
|
||||
"github.com/cgrates/cgrates/config"
|
||||
"github.com/cgrates/cgrates/utils"
|
||||
"github.com/cgrates/dns"
|
||||
"github.com/miekg/dns"
|
||||
)
|
||||
|
||||
func TestE164FromNAPTR(t *testing.T) {
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
"log_level": 7, // control the level of messages logged (0-emerg to 7-debug)
|
||||
},
|
||||
|
||||
|
||||
"stor_db": {
|
||||
"db_password": "CGRateS.org",
|
||||
},
|
||||
|
||||
4
glide.lock
generated
4
glide.lock
generated
@@ -126,8 +126,8 @@ imports:
|
||||
subpackages:
|
||||
- aws
|
||||
- service
|
||||
- name: github.com/cgrates/dns
|
||||
version: 8a9e9ce3f8fc97a804077038ce3d6c6c0797f282
|
||||
- name: github.com/miekg/dns
|
||||
version: b13675009d59c97f3721247d9efa8914e1866a5b
|
||||
- name: github.com/segmentio/kafka-go
|
||||
version: 0b38267f13d5e17fcf8dfbb89168ef7fb520deb8
|
||||
testImports: []
|
||||
|
||||
Reference in New Issue
Block a user