function createCustomConfigFile($tld)
    {
        $customConfigPath = $this->customConfigPath();

        $this->copyExampleConfig();

        $this->appendCustomConfigImport($customConfigPath);

        $this->files->putAsUser($customConfigPath, 'address=/.'.$tld.'/127.0.0.1'.PHP_EOL.'listen-address=127.0.0.1'.PHP_EOL);
    }
function createCustomConfigFile($tld)
    {
        $customConfigPath = $this->customConfigPath();

        $this->copyExampleConfig();

        $this->appendCustomConfigImport($customConfigPath);

        $this->files->putAsUser($customConfigPath, 'address=/.'.$tld.'/127.0.0.1'.PHP_EOL.'listen-address=127.0.0.1'.PHP_EOL);
    }
function createCustomConfigFile ( $ tld ) { $ customConfigPath = $ this -> customConfigPath ( ) ; $ this -> copyExampleConfig ( ) ; $ this -> appendCustomConfigImport ( $ customConfigPath ) ; $ this -> files -> putAsUser ( $ customConfigPath , 'address=/.' . $ tld . '/127.0.0.1' . PHP_EOL . 'listen-address=127.0.0.1' . PHP_EOL ) ; }
Append the custom DnsMasq configuration file to the main configuration file.

@param  string  $tld
@return void
Append the custom DnsMasq configuration file to the main configuration file .