MXS-1973 Support reverse DNS for client hostnames in MaxCtrl
May slow maxscale down when used. Only supported for "list sessions", "show sessions" and "show session <id>".
This commit is contained in:
@ -409,6 +409,16 @@ module.exports = function() {
|
||||
this.error = function(err) {
|
||||
return Promise.reject(colors.red('Error: ') + err)
|
||||
}
|
||||
|
||||
this.rDnsOption = {
|
||||
shortname: 'rdns',
|
||||
optionOn: 'rdns=true',
|
||||
definition : {
|
||||
describe: 'Reverse DNS on client IP. May slow MaxScale down.',
|
||||
type: 'bool',
|
||||
default: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user