forked from coolaj86/digd.js
		
	show example of dns tools for self-hosted dns
This commit is contained in:
		
							parent
							
								
									b3ef27791e
								
							
						
					
					
						commit
						c77053c39c
					
				
							
								
								
									
										15
									
								
								samples/hellabit.enom.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								samples/hellabit.enom.sh
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,15 @@ | |||||||
|  | daplie domains:list # shows hellabit.com in my list of domains | ||||||
|  | 
 | ||||||
|  | # for hellabit.com to lookup itself (chicken and egg problem), | ||||||
|  | # we must first set glue records | ||||||
|  | daplie glue:set -n ns1.hellabit.com -a 138.197.72.1 | ||||||
|  | daplie glue:set -n ns2.hellabit.com -a 162.243.136.134 | ||||||
|  | 
 | ||||||
|  | # now we can set hellabit.com to use nsx.hellabit.com nameservers | ||||||
|  | daplie ns:set -n hellabit.com --nameservers ns1.hellabit.com,ns2.hellabit.com | ||||||
|  | 
 | ||||||
|  | # now we can't use the dns tools because digd.js does not (yet) have oauth3 compatible apis | ||||||
|  | # these won't work | ||||||
|  | # daplie devices:set -d sfo2.devices.hellabit.com -a 138.197.216.176 | ||||||
|  | # daplie devices:attach -d sfo2.devices.hellabit.com -n hellabit.com | ||||||
|  | # daplie devices:attach -d sfo2.devices.hellabit.com -n www.hellabit.com | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user