dig
No long description provided.
Installation
dagger install github.com/felipepimentel/daggerverse/essentials/dig@v0.0.0Entrypoint
Return Type
Dig ! Example
dagger -m github.com/felipepimentel/daggerverse/essentials/dig@6bcdbd5ff36901cf40d24f715adf3796b6c3ab14 call \
func (m *MyModule) Example() *dagger.Dig {
return dag.
Dig()
}@function
def example() -> dagger.Dig:
return (
dag.dig()
)@func()
example(): Dig {
return dag
.dig()
}Types
Dig 🔗
Dig provides functionality for DNS queries
query() 🔗
Query performs a DNS query with the specified configuration
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| config | QueryConfig ! | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(config *dagger.DigQueryConfig) *dagger.Container {
return dag.
Dig().
Query(config)
}@function
def example(config: dagger.DigQueryConfig) -> dagger.Container:
return (
dag.dig()
.query(config)
)@func()
example(config: DigQueryConfig): Container {
return dag
.dig()
.query(config)
}a() 🔗
A performs an A record lookup
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| domain | String ! | - | No description provided |
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/dig@6bcdbd5ff36901cf40d24f715adf3796b6c3ab14 call \
a --domain stringfunc (m *MyModule) Example(domain string) *dagger.Container {
return dag.
Dig().
A(domain)
}@function
def example(domain: str) -> dagger.Container:
return (
dag.dig()
.a(domain)
)@func()
example(domain: string): Container {
return dag
.dig()
.a(domain)
}aaaa() 🔗
AAAA performs an AAAA record lookup
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| domain | String ! | - | No description provided |
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/dig@6bcdbd5ff36901cf40d24f715adf3796b6c3ab14 call \
aaaa --domain stringfunc (m *MyModule) Example(domain string) *dagger.Container {
return dag.
Dig().
Aaaa(domain)
}@function
def example(domain: str) -> dagger.Container:
return (
dag.dig()
.aaaa(domain)
)@func()
example(domain: string): Container {
return dag
.dig()
.aaaa(domain)
}mx() 🔗
MX performs an MX record lookup
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| domain | String ! | - | No description provided |
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/dig@6bcdbd5ff36901cf40d24f715adf3796b6c3ab14 call \
mx --domain stringfunc (m *MyModule) Example(domain string) *dagger.Container {
return dag.
Dig().
Mx(domain)
}@function
def example(domain: str) -> dagger.Container:
return (
dag.dig()
.mx(domain)
)@func()
example(domain: string): Container {
return dag
.dig()
.mx(domain)
}ns() 🔗
NS performs an NS record lookup
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| domain | String ! | - | No description provided |
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/dig@6bcdbd5ff36901cf40d24f715adf3796b6c3ab14 call \
ns --domain stringfunc (m *MyModule) Example(domain string) *dagger.Container {
return dag.
Dig().
Ns(domain)
}@function
def example(domain: str) -> dagger.Container:
return (
dag.dig()
.ns(domain)
)@func()
example(domain: string): Container {
return dag
.dig()
.ns(domain)
}txt() 🔗
TXT performs a TXT record lookup
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| domain | String ! | - | No description provided |
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/dig@6bcdbd5ff36901cf40d24f715adf3796b6c3ab14 call \
txt --domain stringfunc (m *MyModule) Example(domain string) *dagger.Container {
return dag.
Dig().
Txt(domain)
}@function
def example(domain: str) -> dagger.Container:
return (
dag.dig()
.txt(domain)
)@func()
example(domain: string): Container {
return dag
.dig()
.txt(domain)
}trace() 🔗
Trace performs a trace of the DNS resolution
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| domain | String ! | - | No description provided |
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/dig@6bcdbd5ff36901cf40d24f715adf3796b6c3ab14 call \
trace --domain stringfunc (m *MyModule) Example(domain string) *dagger.Container {
return dag.
Dig().
Trace(domain)
}@function
def example(domain: str) -> dagger.Container:
return (
dag.dig()
.trace(domain)
)@func()
example(domain: string): Container {
return dag
.dig()
.trace(domain)
}verifyPropagation() 🔗
VerifyPropagation checks if a DNS record has propagated
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| domain | String ! | - | No description provided |
| expectedValue | String ! | - | No description provided |
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/dig@6bcdbd5ff36901cf40d24f715adf3796b6c3ab14 call \
verify-propagation --domain string --expected-value stringfunc (m *MyModule) Example(domain string, expectedValue string) *dagger.Container {
return dag.
Dig().
VerifyPropagation(domain, expectedValue)
}@function
def example(domain: str, expected_value: str) -> dagger.Container:
return (
dag.dig()
.verify_propagation(domain, expected_value)
)@func()
example(domain: string, expectedValue: string): Container {
return dag
.dig()
.verifyPropagation(domain, expectedValue)
}QueryConfig 🔗
QueryConfig holds configuration for DNS queries
domain() 🔗
Return Type
String ! Example
Function DigQueryConfig.domain is not accessible from the dig moduleFunction DigQueryConfig.domain is not accessible from the dig moduleFunction DigQueryConfig.domain is not accessible from the dig moduleFunction DigQueryConfig.domain is not accessible from the dig moduletype() 🔗
Return Type
String ! Example
Function DigQueryConfig.type is not accessible from the dig moduleFunction DigQueryConfig.type is not accessible from the dig moduleFunction DigQueryConfig.type is not accessible from the dig moduleFunction DigQueryConfig.type is not accessible from the dig moduleserver() 🔗
Return Type
String ! Example
Function DigQueryConfig.server is not accessible from the dig moduleFunction DigQueryConfig.server is not accessible from the dig moduleFunction DigQueryConfig.server is not accessible from the dig moduleFunction DigQueryConfig.server is not accessible from the dig moduleport() 🔗
Return Type
Integer ! Example
Function DigQueryConfig.port is not accessible from the dig moduleFunction DigQueryConfig.port is not accessible from the dig moduleFunction DigQueryConfig.port is not accessible from the dig moduleFunction DigQueryConfig.port is not accessible from the dig moduleshort() 🔗
Return Type
Boolean ! Example
Function DigQueryConfig.short is not accessible from the dig moduleFunction DigQueryConfig.short is not accessible from the dig moduleFunction DigQueryConfig.short is not accessible from the dig moduleFunction DigQueryConfig.short is not accessible from the dig moduletrace() 🔗
Return Type
Boolean ! Example
Function DigQueryConfig.trace is not accessible from the dig moduleFunction DigQueryConfig.trace is not accessible from the dig moduleFunction DigQueryConfig.trace is not accessible from the dig moduleFunction DigQueryConfig.trace is not accessible from the dig moduletimeout() 🔗
Return Type
Integer ! Example
Function DigQueryConfig.timeout is not accessible from the dig moduleFunction DigQueryConfig.timeout is not accessible from the dig moduleFunction DigQueryConfig.timeout is not accessible from the dig moduleFunction DigQueryConfig.timeout is not accessible from the dig moduleretries() 🔗
Return Type
Integer ! Example
Function DigQueryConfig.retries is not accessible from the dig moduleFunction DigQueryConfig.retries is not accessible from the dig moduleFunction DigQueryConfig.retries is not accessible from the dig moduleFunction DigQueryConfig.retries is not accessible from the dig modulenoRecurse() 🔗
Return Type
Boolean ! Example
Function DigQueryConfig.noRecurse is not accessible from the dig moduleFunction DigQueryConfig.noRecurse is not accessible from the dig moduleFunction DigQueryConfig.noRecurse is not accessible from the dig moduleFunction DigQueryConfig.noRecurse is not accessible from the dig module