Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DeleteRecord (0.07 sec)

  1. internal/config/dns/etcd_dns.go

    		_, err := c.etcdClient.Delete(ctx, key+etcdPathSeparator, clientv3.WithPrefix())
    		cancel()
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // DeleteRecord - Removes a specific DNS entry
    func (c *CoreDNS) DeleteRecord(record SrvRecord) error {
    	for _, domainName := range c.domainNames {
    		key := msgPath(fmt.Sprintf("%s.%s.", record.Key, domainName), c.prefixPath)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top